1.pom files always prompt missing artifact *.jar
Some jar packs that you have clearly downloaded. If the computer restarts or eclipse restarts, the Pom.xml file prompts Missing to artifact a certain jar package.
Go to the local warehouse, look for *.lastupdated, delete all. And right--->maven--> update peoject in this project in eclipse
2. Could not calculate build Plan:plugin org.apache.maven.plugins:maven-resources-plugin:2.6
This problem may be caused by a variety of reasons, I have encountered two of different reasons:
The 1th is because the MAVEN configuration in eclipse is not known when it is changed, it is changed back to the correct one, enter
Window-> Preferences-> Maven-> User Settings-> Select your own settings.xml
The 2nd kind of unknown reason, the following solution can be used:
First step: Delete the Local. M2 Warehouse
All the methods below the Repository\org\apache\maven\plugins directory;
Step Two: Right-click the project in Eclipse
Maven->update project-> Tick Force Update of Snapshots/releases->ok. Depending on the network situation, it may be a bit long.
3.The Superclass
"Javax.servlet.http.HttpServlet" is not found on the Java
Build Path
Is that the current Web project is not configured for Tomcat, before resolving to make sure that the current eclipse has configured Tomcat
, and then right-click->properties->javabuildpath-> libraries-> Addlibrary->server in the project name Runtime Select your Tomcat in this list to