-
Sep 2nd, 2012, 03:59 PM
#1
Bikeshop.roo out the box set errors
I'm following the very simple directions exactly as stated in the documentation, but am still running into errors when compiling and running tests. I believe this is a very very simple issue with set up, but I am unable to figure it out. After I run the bikeshop.roo script, I run this...
mvn jetty:run-exploded -e
I get this...
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building bikeshop
[INFO] task-segment: [jetty:run-exploded]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing jetty:run-exploded
[INFO] [aspectj:compile {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [aspectj:test-compile {execution: default}]
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/kburns/git/roo/spring-roo-1.2.2.RELEASE/samples/bikeshop/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: /home/kburns/git/roo/spring-roo-1.2.2.RELEASE/samples/bikeshop/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests in error:
testMarkerMethod(com.springsource.bikeshop.domain. ProductIntegrationTest): Failed to load ApplicationContext
testCount(com.springsource.bikeshop.domain.Product IntegrationTest): Failed to load ApplicationContext
testFind(com.springsource.bikeshop.domain.ProductI ntegrationTest): Failed to load ApplicationContext
testFindAll(com.springsource.bikeshop.domain.Produ ctIntegrationTest): Failed to load ApplicationContext
testFindEntries(com.springsource.bikeshop.domain.P roductIntegrationTest): Failed to load ApplicationContext
testFlush(com.springsource.bikeshop.domain.Product IntegrationTest): Failed to load ApplicationContext
testSaveUpdate(com.springsource.bikeshop.domain.Pr oductIntegrationTest): Failed to load ApplicationContext
testSave(com.springsource.bikeshop.domain.ProductI ntegrationTest): Failed to load ApplicationContext
testDelete(com.springsource.bikeshop.domain.Produc tIntegrationTest): Failed to load ApplicationContext
testMarkerMethod(com.springsource.bikeshop.domain. SupplierIntegrationTest): Failed to load ApplicationContext
testCount(com.springsource.bikeshop.domain.Supplie rIntegrationTest): Failed to load ApplicationContext
testFind(com.springsource.bikeshop.domain.Supplier IntegrationTest): Failed to load ApplicationContext
testFindAll(com.springsource.bikeshop.domain.Suppl ierIntegrationTest): Failed to load ApplicationContext
testFindEntries(com.springsource.bikeshop.domain.S upplierIntegrationTest): Failed to load ApplicationContext
testFlush(com.springsource.bikeshop.domain.Supplie rIntegrationTest): Failed to load ApplicationContext
testSaveUpdate(com.springsource.bikeshop.domain.Su pplierIntegrationTest): Failed to load ApplicationContext
testSave(com.springsource.bikeshop.domain.Supplier IntegrationTest): Failed to load ApplicationContext
testDelete(com.springsource.bikeshop.domain.Suppli erIntegrationTest): Failed to load ApplicationContext
Tests run: 18, Failures: 0, Errors: 18, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to /home/kburns/git/roo/spring-roo-1.2.2.RELEASE/samples/bikeshop/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
Please refer to /home/kburns/git/roo/spring-roo-1.2.2.RELEASE/samples/bikeshop/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:715)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalWithLifecycle(DefaultLifecycleExecuto r.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.forkProjectLifecycle(DefaultLifecycleExecutor.ja va:1205)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.forkLifecycle(DefaultLifecycleExecutor.java:1038 )
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:643)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeStandaloneGoal(DefaultLifecycleExecutor.j ava:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalAndHandleFailures(DefaultLifecycleExe cutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeTaskSegments(DefaultLifecycleExecutor.jav a:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:3 62)
at org.apache.maven.cli.compat.CompatibleMain.main(Co mpatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to /home/kburns/git/roo/spring-roo-1.2.2.RELEASE/samples/bikeshop/target/surefire-reports for the individual test results.
at org.apache.maven.plugin.surefire.SurefireHelper.re portExecution(SurefireHelper.java:83)
at org.apache.maven.plugin.surefire.SurefirePlugin.wr iteSummary(SurefirePlugin.java:673)
at org.apache.maven.plugin.surefire.SurefirePlugin.ha ndleSummary(SurefirePlugin.java:647)
at org.apache.maven.plugin.surefire.AbstractSurefireM ojo.executeAfterPreconditionsChecked(AbstractSuref ireMojo.java:137)
at org.apache.maven.plugin.surefire.AbstractSurefireM ojo.execute(AbstractSurefireMojo.java:98)
at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:694)
... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Sun Sep 02 16:56:31 EDT 2012
[INFO] Final Memory: 31M/238M
[INFO] ------------------------------------------------------------------------
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules