web.xml is missing and <failOnMissingWebXml> is set to true错误
来源:互联网 发布:智能手表软件下载 编辑:程序博客网 时间:2024/06/07 23:16
web.xml is missing and is set to true错误:
原因:web.xml文件缺失.即当前项目下,src文件夹下webapp文件夹下web.xml文件缺失
解决方案1针对WEB工程:
右击当前项目 → 选择Java EE Tools →Generate Deployment Descriptor Stub
可以查看当前项目想的 src下webapp下出现了web.xml文件
解决方案2:不是WEB项目:
<build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> </plugin> </plugins> </pluginManagement></build>
最后:update项目
右击当前项目 → 选择Maven →Update
阅读全文
0 0
- 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
- 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
- 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
- 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
- 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
- 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
- BASE64Encoder及BASE64Decoder报错的正确用法
- 解决Springboot运行时Postgrasql报错:ERROR SqlExceptionHelper:146
- 牛客网剑指offer:栈的压入弹出序列是否匹配
- Android/Java网络加载框架Retrofit(三)结合RxJava2与RxAndroid2
- kotlin学习笔记——枚举、封闭类
- web.xml is missing and <failOnMissingWebXml> is set to true错误
- 找不到系统安全日志/var/log/secure文件的问题
- 如何更好的使用阿里云资源编排ROS免费教程
- 什么是设计模式?为什么要使用设计模式?有什么好处?
- Dialog常见问题(布局错误、黑边、圆角、异常)
- 数据库集群技术
- 数论知识
- XML特殊字符(如:换行)
- wait和waitpid