当前位置:网站首页>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
边栏推荐
- Four departments: from now on to the end of October, carry out the "100 day action" on gas safety
- DDR4硬件原理图设计详解
- Scaffold development foundation
- [SWT component] content scrolledcomposite
- vite//
- 【广告系统】增量训练 & 特征准入/特征淘汰
- 解决readObjectStart: expect { or n, but found N, error found in #1 byte of ...||..., bigger context ..
- 我用开天平台做了一个城市防疫政策查询系统【开天aPaaS大作战】
- Three suggestions for purchasing small spacing LED display
- 百问百答第45期:应用性能探针监测原理-node JS 探针
猜你喜欢

COMSOL--三维随便画--扫掠

About the use of Vray 5.2 (self research notes)

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

How to make full-color LED display more energy-saving and environmental protection

Modulenotfounderror: no module named 'scratch' ultimate solution

Bidirectional RNN and stacked bidirectional RNN

Characteristics and electrical parameters of DDR4
![[office] eight usages of if function in Excel](/img/ce/ea481ab947b25937a28ab5540ce323.png)
[office] eight usages of if function in Excel

【爬虫】wasm遇到的bug

Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
随机推荐
Stop saying that microservices can solve all problems!
In the last process before the use of the risk control model, 80% of children's shoes are trampled here
DDR4硬件原理图设计详解
TSQL – identity column, guid, sequence
Dspic33ep clock initialization program
When using gbase 8C database, an error is reported: 80000502, cluster:%s is busy. What's going on?
基础篇——REST风格开发
SLAM 01. Modeling of human recognition Environment & path
Scaffold development foundation
Zcmu--1390: queue problem (1)
Leetcode 185 All employees with the top three highest wages in the Department (July 4, 2022)
websocket
[first release in the whole network] (tips for big tables) sometimes it takes only 1 minute for 2 hours of SQL operation
[advertising system] incremental training & feature access / feature elimination
7 大主题、9 位技术大咖!龙蜥大讲堂7月硬核直播预告抢先看,明天见
pytorch训练进程被中断了
Detailed explanation of MATLAB cov function
Detailed explanation of DDR4 hardware schematic design
Harbor镜像仓库搭建
About the use of Vray 5.2 (self research notes) (II)