Hello,

 

I have set up a maven project. When I try to run mvn test from within eclipse I get the following error.

 

Compiling 453 source files to E:\workarea\iTRAX2\target\classes

org.apache.maven.plugin.CompilationFailureException: Compilation failure

      at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:429)

      at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:110)

      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:426)

      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554)

      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:508)

      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494)[ERROR] mojo-execute : compiler:compile

Diagnosis: Compilation failure

FATAL ERROR: Error executing Maven for a project

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 

 

      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307)

      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)

      at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:439)

      at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:383)

      at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:71)

 

As this is the first Maven project I have worked on there is a chance that I may have set it up wrong. Any help would be greatly appreciated.

 

Thanks very much,

Ger Garrigan
Software Engineer

Castlewood House, Castlewood Ave,
Rathmines, Dublin 6, Ireland.
Tel:  +353 1 4060738   Fax:  +353 1 4060748
www.precisionsoftware.com

 

 

Reply via email to