Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved
此问题的解决:
1、要确认spring sts已经设置代理
2、要确认windows -> Preferences -> maven 的settings.xml文件中,设置代理。
3、C:\Users\ttt\.m2\repository\org\apache\maven\plugins目录下的文件夹全部删除,重新下载。
【右击项目】->【Maven】->【Update Project...】 等待plugins下载完成即可
参照网址:
http://stackoverflow.com/questions/12533885/could-not-calculate-build-plan-plugin-org-apache-maven-pluginsmaven-resources
http://forum.spring.io/forum/spring-projects/springsource-tool-suite/120244-while-creating-a-new-project-using-spring-template-project-i-am-getting-error
时间: 2024-10-13 11:35:57