maven throws an error whenever i create a new project in eclipse .

Maven is still giving me a hard time to use in eclipse. whenever I create a new project I get this error. I downloaded the plugin 2.6 and replaced it in maven files but still does the same. can you please help me fix this. @mozzy @sharif

Error:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6 Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

Could this https://stackoverflow.com/questions/36789935/error-creating-new-maven-project-in-eclipse be of help?

thanks @jwnasambu . ive tried the solution on stack overflow and the same error is still happening.

Sorry! what about this option https://stackoverflow.com/questions/32578652/failed-to-create-maven-project-in-eclipse-java-ee-ide?

Could try to - Right click your project -Click on Maven

-Update project

-Force update snapshots/ Releases

-Ok

1 Like

Thanks, @gracebish and @jwnasambu. updating the project and forcing update snapshots/releases worked the problem out. it’s now okay

1 Like

Sorry for late reply , were you able to run succesfull your maven

Yes now maven is running fine

1 Like