创建maven项目时报错
错误提示:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
跳转到自己的C:\Users\yqp.m2\repository\org\apache\maven\plugins\maven-war-plugin目录下,删除maven-war-plugin目录下的文件。右键项目名称,构建项目路径,配置构建路径查看是否配置好依赖。如已经配置好,再右键,点击maven,Update一下就可以。