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