[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored (webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
2024-10-19 01:22:27
WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored (webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
在使用Maven 编译项目的时候会出现
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
解决方法:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<!-- http://maven.apache.org/plugins/maven-war-plugin/ -->
<packagingExcludes>WEB-INF/web.xml</packagingExcludes>
</configuration>
</plugin>
最新文章
- 最短JS判断是否为IE6(IE的写法)
- Orleans 之 监控工具的使用
- 微信公众号与HTML 5混合模式揭秘1——如何部署JSSDK
- Lucene中string docvalues使用utf-16的优化
- 使用Docker
- windows 下文件的高级操作
- 51 nod 1188 最大公约数之和 V2
- Ambari REST API 使用介绍 - How To: Use Swagger with Ambari (Explore Ambari REST)
- WebApi Owin OAuth
- Linux 典型应用之远程连接SSH
- LeetCode OJ 238. Product of Array Except Self 解题报告
- unity在一个对象上挂多个一样的脚本怎么获取
- canvas使用2
- SAP HR模块的基础数据表和增强配置
- TensorFlow入门案例
- Python 函数修饰符(装饰器)的使用
- EXTJS 5 学习笔记2 - Components
- VirtualBox 4.3.18 启动虚拟机时显示不能加载 R3模块并退出故障解决一例
- Project Browser &; Inspector
- pycharm Python解释器的配置--可以指定批处理文件为解释器