Closed GoogleCodeExporter closed 9 years ago
The exception indicates your java classes are higher version than the jvm.
Do the following
clean up the class
mvn clean or use eclipse to clean your project
mvn jetty:run or run the project again inside of eclipse
Original comment by benli3...@gmail.com
on 28 May 2010 at 3:15
Hi, I did the mvn clean, and ran the project (run:new, not skipping test)
again. The app failed to run property. I have attached the terminal log,
could you please let me know if I have done something wrong. And also, i ran
the skip test, even i can run the app but the admin password and
everything seems to get screwed up not sure what happened. Thanks
[INFO] Compiling 1 source file to
/Users/lhkhome/Desktop/WebDev/app/target/test-classes
[ERROR]
Mojo:
org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile
FAILED for project:
local.tux:app:war:1.0-SNAPSHOT
Reason:
/Users/lhkhome/Desktop/WebDev/app/src/test/java/local/tux/AppTest.java:[8,38]
cannot find symbol
symbol : method getHello()
location: class local.tux.AppUtils
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Sun May 30 16:09:55 GMT+08:00 2010
[INFO] Final Memory: 8M/46M
[INFO] ------------------------------------------------------------------------
Original comment by lhkh...@gmail.com
on 30 May 2010 at 8:25
Attachments:
delete this file
/src/test/java/local/tux/AppTest.java
we don't use this file at all
Original comment by benli3...@gmail.com
on 30 May 2010 at 4:56
works now thanks Ben
see update: http://code.google.com/p/bentux/source/detail?r=287
Original comment by lhkh...@gmail.com
on 30 May 2010 at 5:11
Original issue reported on code.google.com by
lhkh...@gmail.com
on 28 May 2010 at 10:51