I think it gives you that message specifically. But if you config for the JRE in the JDK it will find the tools.jar it needs
Phill -----Original Message----- From: Daniel Serodio (lists) [mailto:[EMAIL PROTECTED] Sent: April 26, 2007 3:13 PM To: [email protected] Subject: Re: [m2eclipse-user] Compiling anomalies Are you running Eclipse with a JRE or a JDK? AFAIK, m2eclipse (as well as Maven) needs to be ran using a JDK. HTH, Daniel Serodio ---- Mensagem Original ---- From: [EMAIL PROTECTED] To: [email protected], [EMAIL PROTECTED] Sent: Qui, Abril 26, 2007 12:22 pm Subject: [m2eclipse-user] Compiling anomalies > Hi all, > when processing the mvn compile command through the command line I > have in response all the errors details in my source code, but, > surprisingly, when launching the compile or compiler:compile goal from > eclipse I have only this log in return : > [INFO] > ---------------------------------------------------------------------- > ------ [INFO] Building Unnamed - com:myApp:jar:1.3 > [INFO] task-segment: [compiler:compile] > [INFO] > ---------------------------------------------------------------------- > ------ [INFO] Searching repository for plugin with prefix: 'compiler'. > [INFO] compiler:compile > [INFO] Compiling 523 source files to > C:\works\workspaceM2\myAppName-v1.3\target\classes > [ERROR] mojo-execute : compiler:compile > Diagnosis: Compilation failure > FATAL ERROR: Error executing Maven for a project [ERROR] > project-execute : com:myApp:jar:1.3 ( task-segment: > [compiler:compile] ) > Diagnosis: Compilation failure > FATAL ERROR: Error executing Maven for a project > org.apache.maven.BuildFailureException: Compilation failure > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycl eExecutor.java:555) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(Defaul tLifecycleExecutor.java:488) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycle Executor.java:458) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL ifecycleExecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExec utor.java:140) > at > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441) > at > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382) > at > org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) > Caused by: org.apache.maven.plugin.CompilationFailureException: > Compilation failure > at > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:5 16) > at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.ja va:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycl eExecutor.java:534) > ... 8 more > > Thanks for helping > Peace > Nawfel > > > > ______________________________________________________________________ > _____ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos > questions ! > Profitez des connaissances, des opinions et des expériences des > internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
