pom.xml报错:web.xml is missing and <failOnMissingWebXml> is set to true
2017-11-06 20:17
423 查看
出现这个错误的原因是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,问题解决
相关文章推荐
- maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true
- 【maven】maven创建web项目-pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true
- maven 的pom出现web.xml is missing and <failOnMissingWebXml> is set to true
- pom.xml报错: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 pom.xml /Ascend line 7 Maven Java EE Configuration Problem
- eclipse从svn导下项目后pom文件提示web.xml is missing and <failOnMissingWebXml> is set to true
- pom.xml出现web.xml is missing and <failOnMissingWebXml> is set to true解决方案
- pom.xml出现web.xml is missing and <failOnMissingWebXml> is set to true解决方案
- 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”
- pom.xml出现web.xml is missing and <failOnMissingWebXml> is set to true
- pom.xml提示web.xml is missing and <failOnMissingWebXml>is set to true
- eclipse新建maven项目: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
- pom.xml项目文件中出现web.xml is missing and <failOnMissingWebXml> is set to true解决方法
- 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
- web.xml is missing and <failOnMissingWebXml> is set to true
- pom.xml文件报错:web.xml is missing and <failOnMissingWebXml> is set to true