You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Arevalo, Cesar (GE Comm Fin, non-ge)" <ce...@ge.com> on 2006/09/15 17:46:11 UTC

Struts2 - "BUILD FAILURE" - cannot find symbol

Hi,

I am new to struts2, I checked out the repository from subversion and I
am trying to compile everything, but for some reason I keep getting an
error, my repository is in here:

C:\cvs\struts2

And I run the following from the command line:

C:\cvs\struts2\core>mvn -e install

When I run the command above I get the following:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\template
\Freemar
kerTemplateEngine.java:[35,36] cannot find symbol
symbol  : class ClassLoaderUtil
location: package com.opensymphony.xwork2.util

C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\template
\BaseTem
plateEngine.java:[32,36] cannot find symbol
symbol  : class ClassLoaderUtil
location: package com.opensymphony.xwork2.util

...


And after that I keep getting lots of "cannot find symbol" errors.

Is there anyone out there that can help me please?

Regards
Cesar Arevalo

Re: Struts2 - "BUILD FAILURE" - cannot find symbol

Posted by Ian Roughley <ia...@fdar.com>.
I just had this issue myself.  Pat explained it as a bug with Maven2, 
the solution was to delete the struts and opensymphony directories from 
your m2 repo (usually under /Documents and Settings/<logon>/.m2/repo.

/Ian


Arevalo, Cesar (GE Comm Fin, non-ge) wrote:
> Hi,
>
> I am new to struts2, I checked out the repository from subversion and I
> am trying to compile everything, but for some reason I keep getting an
> error, my repository is in here:
>
> C:\cvs\struts2
>
> And I run the following from the command line:
>
> C:\cvs\struts2\core>mvn -e install
>
> When I run the command above I get the following:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\template
> \Freemar
> kerTemplateEngine.java:[35,36] cannot find symbol
> symbol  : class ClassLoaderUtil
> location: package com.opensymphony.xwork2.util
>
> C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\template
> \BaseTem
> plateEngine.java:[32,36] cannot find symbol
> symbol  : class ClassLoaderUtil
> location: package com.opensymphony.xwork2.util
>
> ...
>
>
> And after that I keep getting lots of "cannot find symbol" errors.
>
> Is there anyone out there that can help me please?
>
> Regards
> Cesar Arevalo
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Struts2 - "BUILD FAILURE" - cannot find symbol

Posted by "Arevalo, Cesar (GE Comm Fin, non-ge)" <ce...@ge.com>.
Ok, will do that and try to see if it works for me.

Thanks a lot

PS I never thought that Ted husted would answer back my very first mail
post.

-----Original Message-----
From: ted.husted@gmail.com [mailto:ted.husted@gmail.com] On Behalf Of
Ted Husted
Sent: Friday, September 15, 2006 11:03 AM
To: Struts Users Mailing List
Subject: Re: Struts2 - "BUILD FAILURE" - cannot find symbol

Right now, we're still building against the XWork head, and a current
XWork snapsnot may not be available.

The best thing is to checkout XWork too. The simplest thing is to put it
under "current", next to  struts2.

> svn co https://svn.opensymphony.com/svn/xwork/trunk xwork

We're building with XWork with Maven too, so you can change to xwork, do
the mvn install to get a snapshot in your local repository, and then
start building s2!

-- HTH, Ted.
* http://www.husted.com/struts/


On 9/15/06, Arevalo, Cesar (GE Comm Fin, non-ge) <ce...@ge.com>
wrote:
> Hi,
>
> I am new to struts2, I checked out the repository from subversion and 
> I am trying to compile everything, but for some reason I keep getting 
> an error, my repository is in here:
>
> C:\cvs\struts2
>
> And I run the following from the command line:
>
> C:\cvs\struts2\core>mvn -e install
>
> When I run the command above I get the following:
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Compilation failure
>
> C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\templa
> te
> \Freemar
> kerTemplateEngine.java:[35,36] cannot find symbol symbol  : class 
> ClassLoaderUtil
> location: package com.opensymphony.xwork2.util
>
> C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\templa
> te
> \BaseTem
> plateEngine.java:[32,36] cannot find symbol symbol  : class 
> ClassLoaderUtil
> location: package com.opensymphony.xwork2.util
>
> ...
>
>
> And after that I keep getting lots of "cannot find symbol" errors.
>
> Is there anyone out there that can help me please?
>
> Regards
> Cesar Arevalo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts2 - "BUILD FAILURE" - cannot find symbol

Posted by Ted Husted <hu...@apache.org>.
Right now, we're still building against the XWork head, and a current
XWork snapsnot may not be available.

The best thing is to checkout XWork too. The simplest thing is to put
it under "current", next to  struts2.

> svn co https://svn.opensymphony.com/svn/xwork/trunk xwork

We're building with XWork with Maven too, so you can change to xwork,
do the mvn install to get a snapshot in your local repository, and
then start building s2!

-- HTH, Ted.
* http://www.husted.com/struts/


On 9/15/06, Arevalo, Cesar (GE Comm Fin, non-ge) <ce...@ge.com> wrote:
> Hi,
>
> I am new to struts2, I checked out the repository from subversion and I
> am trying to compile everything, but for some reason I keep getting an
> error, my repository is in here:
>
> C:\cvs\struts2
>
> And I run the following from the command line:
>
> C:\cvs\struts2\core>mvn -e install
>
> When I run the command above I get the following:
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\template
> \Freemar
> kerTemplateEngine.java:[35,36] cannot find symbol
> symbol  : class ClassLoaderUtil
> location: package com.opensymphony.xwork2.util
>
> C:\cvs\struts2\core\src\main\java\org\apache\struts2\components\template
> \BaseTem
> plateEngine.java:[32,36] cannot find symbol
> symbol  : class ClassLoaderUtil
> location: package com.opensymphony.xwork2.util
>
> ...
>
>
> And after that I keep getting lots of "cannot find symbol" errors.
>
> Is there anyone out there that can help me please?
>
> Regards
> Cesar Arevalo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org