报错部分代码:
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
解决思路:
1.若是新手,注意安装maven插件,具体教程转 Eclipse安装Maven插件教程
2.检查 src→main→webapp→WEB-INF目录下是否有 web.xml 这个文件,没有的话添加上去
3.最后右键项目maven→Update Project 选中 Force Update of Snapshots/Releases