The first error encountered in Maven learning and the first error in maven
Now I am going to learn maven. I learned from the video I watched at geek college. Of course I will encounter exceptions in my study. below is my first exception.
[ERROR] Failed to execute goal org. apache. maven. plugins: maven-compiler-plugin: 3.1: testCompile (default-testCompile) on project springside-core: 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
In fact, it is a good solution. Right-click the project directly.
Then the compilation is successful !!!
The courses of geek college are good. Although it is a bit messy, it is good to sort the courses. With the registration below, you and I can get the vip for a month. It is good, that is, we need a mobile phone number.
Click to register