首页> 开发问题 >其它问题 其它问题
创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
作者:小萝卜 2020-04-08 【 其它 】 浏览 2104
简介创建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)
相关文章
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- Android Studio安装&&安装bug
- MATLAB关闭科学计数法显示
- clion ctrl+鼠标左键不能调到函数实现
- 解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
- Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
- pycharm无法识别自己的文件夹的程序
- Mapreduce报错:java.lang.ClassNotFoundException: Class Mapper not found
- matlab命令行双箭头消失