转自:http://stackoverflow.com/questions/31835033/web-xml-is-missing-and-failonmissingwebxml-is-set-to-true
使用maven创建web项目时,可能会出现如下错误:
web.xml is missing and <failOnMissingWebXml> is set to true
此问题的解决办法:
1. 右键点击Project Explorer中的Deployment Descriptor
2. 选择Generate Deployment Descriptor Stub
这样就能生成src/main/webapp/WEB_INF/web.xml文件了。
最后
以上就是优美铃铛最近收集整理的关于maven项目出现web.xml is missing and
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复