Eclipse compiled project with maven compilation problem

Source: Internet
Author: User

1.eclipse is an IDE development environment and has no compiler functionality. There is no compiler. The Eclipse compilation project is only the Java compiler that is tuning the JDK locally. MAVEN is compiled separately, and Eclipse can invoke maven compilation,

The method of compiling with Maven in eclipse:

Right-click on the "Pom.xml" file in the project and select "Run as" à "maveninstall" in the popup menu to compile and build the project. As shown in the following:

During the compilation and build process, you can see information about the MAVEN compilation process in the console panel, and you can see the word "BUILD SUCCESS" in the console panel if compilation and build succeeds.

In addition, when modifying the relevant jar package information in the Pom.xml file, there may be some errors due to the absence of the repository, and there may be some problems with Project compilation. You can now clear the compilation with the Maven clean option, and then modify the pom.xml to the correct situation. Compile and build with Maven install.

2.

Eclipse compiled project with maven compilation problem

Related Article

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.