当前位置:网站首页>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
边栏推荐
猜你喜欢

【Oracle】使用DataGrip连接Oracle数据库

Codeforces Round #804 (Div. 2)

紫光展锐全球首个5G R17 IoT NTN卫星物联网上星实测完成

pytorch训练进程被中断了

COMSOL--三维图形的建立

基础篇——REST风格开发

About the use of Vray 5.2 (self research notes)
![[office] eight usages of if function in Excel](/img/ce/ea481ab947b25937a28ab5540ce323.png)
[office] eight usages of if function in Excel
![[advertising system] parameter server distributed training](/img/8b/558c2fefbd16b580546003f3afeaf5.png)
[advertising system] parameter server distributed training

LSTM applied to MNIST dataset classification (compared with CNN)
随机推荐
NFT 交易市场主要使用 ETH 本位进行交易的局面是如何形成的?
DDR4硬件原理图设计详解
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
Basic testing process of CSDN Software Testing Introduction
Applet framework taro
BOM//
R3live series learning (IV) r2live source code reading (2)
C language current savings account management system
Three suggestions for purchasing small spacing LED display
Cron expression (seven subexpressions)
About the use of Vray 5.2 (self research notes) (II)
I used Kaitian platform to build an urban epidemic prevention policy inquiry system [Kaitian apaas battle]
解决访问国外公共静态资源速度慢的问题
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
Detailed explanation of DDR4 hardware schematic design
Four departments: from now on to the end of October, carry out the "100 day action" on gas safety
shell脚本文件遍历 str转数组 字符串拼接
DDR4的特性与电气参数
comsol--三维图形随便画----回转
How to make full-color LED display more energy-saving and environmental protection