Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project Spring12: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
在clean后,进行install操作,找了很多方法都没用,以为是依赖没导入,疯狂找前面的案例都没找到端倪。结果发现,install默认是找到src/main/webapp路径,而我的web模块采用命名web,解决方法,直接重命名未webapp就行。