0

I'm following this tutorial and trying to create simple REST API example

http://crunchify.com/how-to-build-restful-service-with-java-using-jax-rs-and-jersey/

Every time I convert project to Maven project...This particular error comes up and I'm not able to solve it anyhow ...

 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

How to solve it .. I already installed maven and set up the Environment variable.

"I have pretty steep timeline" .. any help will be appreciated. Using Eclipse Mars Jersey 1.9 bundle of jars

EDIT EXACT ERROR

Errors occurred during the build. Errors running builder 'Maven Project Builder' on project 'CrunchifyRESTJerseyExample1'.

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 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
Tim Biegeleisen
  • 502,043
  • 27
  • 286
  • 360
spt025
  • 2,134
  • 2
  • 20
  • 26

1 Answers1

0

Try deleting all the files under the .m2 repository folder and build the project again. 12533885

Community
  • 1
  • 1
zyexal
  • 1,570
  • 16
  • 23