首页> 开发问题 >其它问题 其它问题
创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
作者:小萝卜 2020-04-08 【 其它 】 浏览 2187
简介创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
1. 右键点击Deployment Descriptor
2. 选择Generate Deployment Descriptor Stub
P.S.下面顺便提一个小技巧:
创建动态web时先右键项目,properties,选project facets
先取消动态web 的选择,ok之后再右键项目,再选择动态web,这样可以选择出现web content文件夹
很赞哦! (0)
相关文章
- 异常解决:util.NativeCodeLoader: Unable to load native-hadoop library for your platform
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- Maven C盘用户文件下没有.m2
- Unreachable statement
- Namenode 没启动
- 报错:configure: error: no acceptable C compiler found in $PATH
- Python“Non-ASCII character 'xe5' in file”报错问题
- scp 文件 : /目录: Permission denied
- VMWARE虚拟机安装64位系统此主机支持IntelVTx 但IntelVTx处于禁用状态