The first error encountered in Maven learning and the first error in maven

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.