To import a project:
Import Maven Project->existing MAVEN projects
Packaged:
The jar package under the target folder, Maven clean, run as, maven build. Sent to the deployment.
or a
The. jar package is generated after execution Eclipse.bat-Install.bat. Sent to the deployment.
(two. bat files need to be placed in the project root directory)
Local Interface Services:
Src/main/java->application.java, run as-Java application
Keng
1. If you do not see Maven in right-click Run as, you will need to convert the project into a MAVEN project and you will see it.
2. If
Exception in thread "main" java.lang.Error:Unresolved compilation problem:
Springapplication cannot be resolved
At Com.mchz.xiamenport.Application.main (application.java:11)
Or something strange, the code is fine. No error on the other machine.
Reason: No use of King James Eclipse---Eclipse-jee-oxigen-1a-win32-x86_64.zip green free Installation
The Eclipse-inst-win64 on the official website has an error.
3.JDK or JRE error, the project references the lower version of the JDK compatibility.
* Thank the back-end students for their help. *
Eclipse on the pit record