当前位置:网站首页>Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
2022-07-05 11:21:00 【全栈程序员站长】
执行Maven Install打包的时候,出现以下错误信息:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project pro-test: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
产生该错误的原因是“webapp”目录下缺少“WEB-INF”目录,缺少“WEB-INF/web.xml”文件。
解决方案
创建目录及文件
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/109457.html原文链接:https://javaforall.cn
边栏推荐
- 【爬虫】charles unknown错误
- uboot的启动流程:
- Scaffold development foundation
- How to make full-color LED display more energy-saving and environmental protection
- 如何让全彩LED显示屏更加节能环保
- 【广告系统】Parameter Server分布式训练
- Question bank and answers of special operation certificate examination for main principals of hazardous chemical business units in 2022
- Guys, I tested three threads to write to three MySQL tables at the same time. Each thread writes 100000 pieces of data respectively, using F
- 我用开天平台做了一个城市防疫政策查询系统【开天aPaaS大作战】
- Detailed explanation of DDR4 hardware schematic design
猜你喜欢
COMSOL--三维随便画--扫掠
[JS] extract the scores in the string, calculate the average score after summarizing, compare with each score, and output
NFT 交易市场主要使用 ETH 本位进行交易的局面是如何形成的?
华为设备配置信道切换业务不中断
Intelligent metal detector based on openharmony
R3live series learning (IV) r2live source code reading (2)
[advertising system] parameter server distributed training
About the use of Vray 5.2 (self research notes) (II)
如何让全彩LED显示屏更加节能环保
数据库三大范式
随机推荐
uniapp
Data types ntext and varchar are incompatible in the not equal to operator - 95 small pang
Beego cross domain problem solution - successful trial
边缘计算如何与物联网结合在一起?
居家办公那些事|社区征文
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
力扣(LeetCode)185. 部门工资前三高的所有员工(2022.07.04)
How to close the log window in vray5.2
NFT 交易市场主要使用 ETH 本位进行交易的局面是如何形成的?
Advanced technology management - what is the physical, mental and mental strength of managers
如何通俗理解超级浏览器?可以用于哪些场景?有哪些品牌?
About the use of Vray 5.2 (self research notes)
基础篇——REST风格开发
解决readObjectStart: expect { or n, but found N, error found in #1 byte of ...||..., bigger context ..
Ddrx addressing principle
[first release in the whole network] (tips for big tables) sometimes it takes only 1 minute for 2 hours of SQL operation
Three paradigms of database
sklearn模型整理
DDRx寻址原理
【Oracle】使用DataGrip连接Oracle数据库