This maven error generally happen when create maven based web project by using “maven-archtype-console” which generally try to import all library automatically.
You will see this complete error message on pom.xml
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.4
POM.XML
4.0.0
com.FacingIssuesOnIT
Spring-Core-Examples
0.0.1-SNAPSHOT
Spring-Core-Examples
Spring Core Exammples
Solution 1:
You need just to follow those steps:
Right Click on your project: Run (As) -> Maven clean
Right Click on your project: Run (As) -> Maven install
After which, if the build fails when you do Maven Install, it means there is no web.xml file under WEB-INF or some problem associated with it.
Solution 2:
Right click on project-> Maven->Click checked box ‘Force Update’->Update
You must be logged in to post a comment.