I installed latest 2.9 STS and updated it, then I created a directory in
Spring-Roo installation directory by name expenses.
Started ROO and then ran the script from samples/expenses.roo from command
line.
When I run mvn - version, it shows latest path which I set in environment
same as Maven-directory/bin 

Code:
Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530)
Maven home: C:\latestSTS\springsource\apache-maven-3.0.3\bin\..
Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_31\jre
Default locale: en_IN, platform encoding: Cp1252
OS name: "windows vista", version: "6.0", arch: "x86", family: "windows"
Then i quit roo and typed "mvn gwt:run" and it is failing - 

Code:
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses>mvn gwt:run
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building extrack 0.1.0.BUILD-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> gwt-maven-plugin:2.2.0:run (default-cli) @ extrack >>>
[INFO]
[INFO] --- aspectj-maven-plugin:1.2:compile (default) @ extrack ---
[ERROR] The import
org.apache.commons.lang3.builder.ReflectionToStringBuilder cannot be
resolved
[ERROR] The import org.apache.commons.lang3.builder.ToStringStyle cannot be
resolved
[ERROR] ReflectionToStringBuilder cannot be resolved
[ERROR] ToStringStyle cannot be resolved
[ERROR] The import
org.apache.commons.lang3.builder.ReflectionToStringBuilder cannot be
resolved
[ERROR] The import org.apache.commons.lang3.builder.ToStringStyle cannot be
resolved
[ERROR] ReflectionToStringBuilder cannot be resolved
[ERROR] ToStringStyle cannot be resolved
[ERROR] The import
org.apache.commons.lang3.builder.ReflectionToStringBuilder cannot be
resolved
[ERROR] The import org.apache.commons.lang3.builder.ToStringStyle cannot be
resolved
[ERROR] ReflectionToStringBuilder cannot be resolved
[ERROR] ToStringStyle cannot be resolved
[WARNING] advice defined in
org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect has not
been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in
org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl
has not been applied [Xlint:adviceDidNotMatch][WARNING] advice defined in
org.springframework.mock.staticmock.AbstractMethodMockingControl has not
been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in
org.springframework.mock.staticmock.AbstractMethodMockingControl has not
been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in
org.springframework.scheduling.aspectj.AbstractAsync
ExecutionAspect has not been applied [Xlint:adviceDidNotMatch]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7.359s
[INFO] Finished at: Thu Mar 08 15:21:02 IST 2012
[INFO] Final Memory: 7M/34M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project
extrack: Compiler errors :
[ERROR] error at import
org.apache.commons.lang3.builder.ReflectionToStringBuilder;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Employee_Roo_ToString.aj:6:0::0
The
 import org.apache.commons.lang3.builder.ReflectionToStringBuilder cannot be
resolved
[ERROR] error at import org.apache.commons.lang3.builder.ToStringStyle;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Employee_Roo_ToString.aj:7:0::0
The
 import org.apache.commons.lang3.builder.ToStringStyle cannot be resolved
[ERROR] error at return ReflectionToStringBuilder.toString(this,
ToStringStyle.S
HORT_PREFIX_STYLE);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Employee_Roo_ToString.aj:13:0::0
ReflectionToStringBuilder cannot be resolved
[ERROR] error at return ReflectionToStringBuilder.toString(this,
ToStringStyle.SHORT_PREFIX_STYLE);
[ERROR] ^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Employee_Roo_ToString.aj:13:0::0
ToStringStyle cannot be resolved
[ERROR] error at import
org.apache.commons.lang3.builder.ReflectionToStringBuilder;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\jaa\org\springsource\roo\extrack\server\domain\Report_Roo_ToString.aj:6:0::0
The import org.apache.commons.lang3.builder.ReflectionToStringBuilder cannot
be resolved
[ERROR] error at import org.apache.commons.lang3.builder.ToStringStyle;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Report_Roo_ToString.aj:7:0::0
The import org.apache.commons.lang3.builder.ToStringStyle cannot be resolved
[ERROR] error at return ReflectionToStringBuilder.toString(this,
ToStringStyle.S
HORT_PREFIX_STYLE);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Report_Roo_ToString.aj:13:0::0
ReflectionToStringBuilder cannot be resolved
[ERROR] error at return ReflectionToStringBuilder.toString(this,
ToStringStyle.S
HORT_PREFIX_STYLE);
[ERROR] ^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Report_Roo_ToString.aj:13:0::0
ToStringStyle cannot be resolved
[ERROR] error at import
org.apache.commons.lang3.builder.ReflectionToStringBuilder;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Expense_Roo_ToString.aj:6:0::0
Theimport org.apache.commons.lang3.builder.ReflectionToStringBuilder cannot
be resolved
[ERROR] error at import org.apache.commons.lang3.builder.ToStringStyle;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Expense_Roo_ToString.aj:7:0::0
The import org.apache.commons.lang3.builder.ToStringStyle cannot be
resolved[ERROR] error at return ReflectionToStringBuilder.toString(this,
ToStringStyle.SHORT_PREFIX_STYLE);
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Expense_Roo_ToString.aj:13:0::0
ReflectionToStringBuilder cannot be resolved
[ERROR] error at return ReflectionToStringBuilder.toString(this,
ToStringStyle.SHORT_PREFIX_STYLE);
[ERROR] ^^^^
[ERROR]
C:\latestSTS\springsource\spring-roo-1.2.1.RELEASE\expenses\src\main\java\org\springsource\roo\extrack\server\domain\Expense_Roo_ToString.aj:13:0::0
ToStringStyle cannot be resolved
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
The only reason I went for ROO is to develop fast and here it is taking more
and more time in configuration. Please suggest if I am doing any mistake or
there is something broken in setup ..

--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-gwt-run-issue-tp5547033p5547033.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to