pom文件报错web.xml is missing and <failOnMissingWebXml> is set to true
来源:互联网 发布:三剑客软件下载 编辑:程序博客网 时间:2024/06/17 14:14
新建一个maven项目后,pom文件报错web.xml is missing and <failOnMissingWebXml> is set to true,这是因为你因为你WEB-INF下没有web.xml导致造成的
如何是web项目,需要在webapp下新建WEB-INF文件夹,在此文件夹中新建web.xml即可解决
web.xml
<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"id="taotao" version="2.5"><display-name>manager</display-name><welcome-file-list><welcome-file>index.html</welcome-file><welcome-file>index.htm</welcome-file><welcome-file>index.jsp</welcome-file><welcome-file>default.html</welcome-file><welcome-file>default.htm</welcome-file><welcome-file>default.jsp</welcome-file></welcome-file-list></web-app>
http://blog.csdn.net/qq_31302091/article/details/73860822点击打开链接
阅读全文
0 0
- 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
- 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
- eclipse maven项目pom报错web.xml is missing and <failOnMissingWebXml> is set to true
- mave项目报错: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解决方案
- 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
- Linux学习(二十一):线程
- ORA-12519: TNS:no appropriate service handler found 解决
- aa
- Android Studio 插件开发详解二:工具类
- Javascript闭包(Closure)理解
- pom文件报错web.xml is missing and <failOnMissingWebXml> is set to true
- Python初步实现车道线检测
- 测试用例设计技巧
- Object Detection系列(一) R-CNN
- GKGraph
- Bootstrap中点击后禁用按钮的最佳方法
- 常见注册
- 从零开始学习rocketmq(1)
- @Autowired写在成员变量上和set方法上的区别?