Error : Could not get the value for parameter encoding for plugin execution default-resources ...

This error happened when my friend tried to load a spring maven based project in her STS 2.9.1 IDE causing the dependencies jars were not able to be loaded. The error log was:
"
Could not get the value for parameter encoding for plugin execution default-resources Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failure to transfer org.apache.maven.doxia:Doxia-sink-api:jar:1.0-alpha-7 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interv..."


Tried to Google but no answer found. Finally we got the answer. It was due to an older version of STS 2.5.x already installed in the machine. But not sure how they are related since I didn't investigate more and we just used the older IDE to run the project and start to work.

I believe this can easily be fixed by removing the related folders from the maven local repository.

2 comments:

  1. Replies
    1. sorry i didn't really go into details of the problem so i don't have the fix.

      Delete