When the project maven pom.xml file Maven install error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project mall-manager-web: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[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

The reason given is the Eclipse is running on the default jre, maven install jdk need to compile the compiler, so it is necessary to set the eclipse, the
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
more choice would not after after completion, maven project pom.xml file during the Maven install first Maven clean It will be reported to the above error.

Released two original articles · won praise 0 · Views 45

Guess you like

Origin blog.csdn.net/qq_34665923/article/details/104433404