java - fail in "mvn clean install"? -
I'm new to learning Java programming! I want to make a gazer in a Maven project. After running this command, The target org.apache.maven.plugins failed to execute: maven-compiler -plugin: 2.3.2: Unable to detect JAVAK compiler in project wps-demo (default-compile): compilation failure : C: \ Program Files \ Java \ jre7 .. \ Lib \ tools jar Please make sure that you are using JDK 1.4 or above and do not require a JRE (com.sun.tools.javac.Main class) In most cases you P> As your error, you are wrong in the system settings in the JAVA_HOME variable The value is ... something like how you can set it for example. mvn clean install , I get the following error message:
C: \ Program Files \ Java \ jre6
Comments
Post a Comment