1 Reply Latest reply on Jan 28, 2014 4:25 PM by jamezp

    Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project

    yalutre190

      please someone can help me ????????

      can't find the solution

       

      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

      SLF4J: Defaulting to no-operation (NOP) logger implementation

      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

      [INFO] Scanning for projects...

      [WARNING]

      [WARNING] Some problems were encountered while building the effective model for fr.ua.iutlens.suivi:webSuiviEtudiant:war:0.0.1-SNAPSHOT

      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 271, column 12

      [WARNING]

      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

      [WARNING]

      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

      [WARNING]

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building webSuiviEtudiant 0.0.1-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [INFO]

      [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ webSuiviEtudiant ---

      [INFO] Deleting C:\Users\toshiba\projetSuiviEtu\webSuiviEtudiant\webSuiviEtudiant\target

      [INFO]

      [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ webSuiviEtudiant ---

      [debug] execute contextualize

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 3 resources

      [INFO]

      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ webSuiviEtudiant ---

      [INFO] Compiling 54 source files to C:\Users\toshiba\projetSuiviEtu\webSuiviEtudiant\webSuiviEtudiant\target\classes

      [INFO] -------------------------------------------------------------

      [ERROR] COMPILATION ERROR :

      [INFO] -------------------------------------------------------------

      [ERROR] Unable to locate the Javac Compiler in:

        C:\Program Files\Java\jre7\..\lib\tools.jar

      Please ensure you are using JDK 1.4 or above and

      not a JRE (the com.sun.tools.javac.Main class is required).

      In most cases you can change the location of your Java

      installation by setting the JAVA_HOME environment variable.

      [INFO] 1 error

      [INFO] -------------------------------------------------------------

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 2.683s

      [INFO] Finished at: Thu Jan 23 15:47:40 CET 2014

      [INFO] Final Memory: 10M/114M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project webSuiviEtudiant: Compilation failure

      [ERROR] Unable to locate the Javac Compiler in:

      [ERROR] C:\Program Files\Java\jre7\..\lib\tools.jar

      [ERROR] Please ensure you are using JDK 1.4 or above and

      [ERROR] not a JRE (the com.sun.tools.javac.Main class is required).

      [ERROR] In most cases you can change the location of your Java

      [ERROR] installation by setting the JAVA_HOME environment variable.

      [ERROR] -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException