当前位置:网站首页>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:29:00 【Full stack programmer webmaster】
perform Maven Install When packing , The following error message appears :
[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
The reason for this error is “webapp” Missing under directory “WEB-INF” Catalog , The lack of “WEB-INF/web.xml” file .
Solution
Create directories and files
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/109457.html Link to the original text :https://javaforall.cn
边栏推荐
- Unity Xlua MonoProxy Mono代理类
- Home office things community essay
- Basics - rest style development
- Cron表达式(七子表达式)
- 力扣(LeetCode)185. 部门工资前三高的所有员工(2022.07.04)
- 解决grpc连接问题Dial成功状态为TransientFailure
- COMSOL--三维图形的建立
- Harbor image warehouse construction
- FFmpeg调用avformat_open_input时返回错误 -22(Invalid argument)
- Intelligent metal detector based on openharmony
猜你喜欢
随机推荐
Wechat nucleic acid detection appointment applet system graduation design completion (7) Interim inspection report
COMSOL -- 3D casual painting -- sweeping
Leetcode 185 All employees with the top three highest wages in the Department (July 4, 2022)
871. Minimum Number of Refueling Stops
Codeforces Round #804 (Div. 2)
[JS] extract the scores in the string, calculate the average score after summarizing, compare with each score, and output
[office] eight usages of if function in Excel
I used Kaitian platform to build an urban epidemic prevention policy inquiry system [Kaitian apaas battle]
PHP中Array的hash函数实现
How does redis implement multiple zones?
Huawei equipment configures channel switching services without interruption
解决readObjectStart: expect { or n, but found N, error found in #1 byte of ...||..., bigger context ..
C language current savings account management system
MySQL giant pit: update updates should be judged with caution by affecting the number of rows!!!
MySQL statistical skills: on duplicate key update usage
Oneforall installation and use
Detailed explanation of DDR4 hardware schematic design
uboot的启动流程:
R3Live系列学习(四)R2Live源码阅读(2)
871. Minimum Number of Refueling Stops