问题:
Could not get the value for parameter encoding for plugin execution default-resources Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.plugins:maven.......
解决:
- Close Eclipse.
- Navigate to user home directory. (For example: "C:\Users\YourUserName.m2")
- Delete the "repository" folder.
- Re-open Eclipse.
- Click on the Maven project that has an issue and go to "Project" --> "Clean".
- Right-click on the project and go to "Maven" --> "Update Project...".
- Close Eclipse.
- Open Eclipse.
- Click on the project folder in the "Project Explorer" window (usually on the left).
- Hit the "F5" key a few times to Refresh your project.
- Done!
These steps worked for me. Please let me know if I can help further.