[ http://jira.codehaus.org/browse/MECLIPSE-106?page=comments#action_65650 ]
Gus Power commented on MECLIPSE-106: ------------------------------------ Hi, Just wondering if anyone has had a chance to look at this further? >From reading the Spring Rich Client development setup at >http://spring-rich-c.sourceforge.net/development/developmentSetup.html it >seems that these guys have had some difficulty getting the M2 plugin working >as well - are these issues configuration-based or does the plugin require >further work? Thanks, Gus. > surefire NoClassDefFoundError error > ----------------------------------- > > Key: MECLIPSE-106 > URL: http://jira.codehaus.org/browse/MECLIPSE-106 > Project: Maven 2.x Eclipse Plugin > Type: Bug > Environment: Linux gtk > Eclipse 3.2RC4 > Maven 2.0.4 > Reporter: Gus Power > > > Unable to run project tests (surefire:test) using maven plugin in Eclipse: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/codehaus/plexus/util/cli/CommandLineException > The command to invoke the tests appears to have a different classpath than > the equivalent when running mvn from the command line: > In Eclipse: > java -classpath > /home/gus/.m2/repository/org/apache/maven/surefire/surefire-booter/1.5.3/surefire-booter-1.5.3.jar:null > org.apache.maven.surefire.SurefireBooter /home/gus/javashed/project > Via Command Line: > java -classpath > /home/gus/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/home/gus/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/home/gus/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar > org.apache.maven.surefire.booter.SurefireBooter /tmp/surefire40094tmp > /tmp/surefire40095tmp > (CommandLineException lives in plexus-utils-1.1.jar) > Any help would be appreciated, > Thanks, > Gus. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira