Plugin ant : erreur de classpath
Une petite erreur lors de l'utilisation de mon plugin ANT:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
[INFO] [run-swapi:compile {execution: default}]
compile:
[mkdir] Created dir: D:\eclipse-maestro\workspace\dra.proto\out\dra.proto.client\classes
[javac] Compiling 74 source files to D:\eclipse-maestro\workspace\dra.proto\out\dra.proto.client\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /swapi.build.xml [compile]: Failed to execute.
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute: Executing Ant script: /swapi.build.xml [compile]: Failed to execute. |
Mon JAVA_HOME est correct
Alors où est la faute!!! :fessee: