I wanna make web project using the Maven to import automatically all libraries that I need, so I chose \"maven-archetype-webpp\"
after that I got this error
just right click on your project, hover maven then click update project.. done!!
For Unix Users
find ~/.m2 -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;
Right-click your project and choose Update Dependencies
For Windows
for /r %i in (*.lastUpdated) do del %i
If you are using Eclipse Neon, try this:
1) Add the maven plugin in the properties section of the POM:
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
</properties>
2) Force update of project snapshot by right clicking on Project
Maven -> Update Project -> Select your Project -> Tick on the 'Force Update of Snapshots/Releases' option -> OK
In my case it was a failed import to eclipse. I had to delete the project from eclipse (without deleting form the filesystem of course) and reimport it. After that the error was gone immediately.
Right click on project-> Maven->Click checked box 'Force Update'->Update
Right Click on your project: Run (As) -> Maven clean Right Click on your project: Run (As) -> Maven install