Eclipse中在maven构建部署项目时,pom.xml一直报web.xml is missing and <failOnMissingWebXml> is set to true 。
这句话的大致意思是没有找到web.xml,
解决方法之一参考如下:右键项目——Properties——Deployment Assembly(部署程序集)——将webapp添加
添加后如下图:
Eclipse中在maven构建部署项目时,pom.xml一直报web.xml is missing and <failOnMissingWebXml> is set to true 。
这句话的大致意思是没有找到web.xml,
解决方法之一参考如下:右键项目——Properties——Deployment Assembly(部署程序集)——将webapp添加
添加后如下图: