Maven中pom.xml报错:web.xml is missing and <failOnMissingWebXml> is set to true
2017-10-28 23:01
519 查看
出现这个错误的原因是Maven不支持缺少web.xml的web项目
解决方法
添加Web模块,对项目右键->Java
EE Tools->Generate Deployment Descriptor Stub,这样就在src\main\webapp下面生成了WEB-INF文件夹和web.xml,问题解决。
解决方法
添加Web模块,对项目右键->Java
EE Tools->Generate Deployment Descriptor Stub,这样就在src\main\webapp下面生成了WEB-INF文件夹和web.xml,问题解决。
相关文章推荐
- web.xml is missing and <failOnMissingWebXml> is set to true解决方法
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- pom.xml报错:web.xml is missing and <failOnMissingWebXml> is set to true
- 建立maven工程pom.xml报错:web.xml is missing and <failOnMissingWebXml> is set to true
- web.xml is missing and <failOnMissingWebXml> is set to true
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- web.xml is missing and <failOnMissingWebXml> is set to true
- pom.xml出现web.xml is missing and <failOnMissingWebXml> is set to true
- maven中出现web.xml is missing and <failOnMissingWebXml> is set to true的错误如何解决
- Eclipse创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- pom.xml出现web.xml is missing and <failOnMissingWebXml> is set to true解决方案
- web.xml is missing and <failOnMissingWebXml> is set to true
- Description Resource Path Location Type web.xml is missing and <failOnMissingWebXml> is set to true
- web.xml is missing and <failOnMissingWebXml> is set to true
- 创建Maven web项目时 出现 web.xml is missing and <failOnMissingWebXml> is set to true错误 pox.xml编译错误
- web.xml is missing and <failOnMissingWebXml> is set to true
- maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true
- 解决web.xml is missing and <failOnMissingWebXml> is set to true问题
- web.xml is missing and <failOnMissingWebXml> is set to true
- pom.xml出现web.xml is missing and <failOnMissingWebXml> is set to true解决方案