当前位置:网站首页>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
边栏推荐
- Paradigm in database: first paradigm, second paradigm, third paradigm
- 7.2每日学习4
- 解决grpc连接问题Dial成功状态为TransientFailure
- 871. Minimum Number of Refueling Stops
- Dspic33ep clock initialization program
- Mysql统计技巧:ON DUPLICATE KEY UPDATE用法
- 【爬虫】wasm遇到的bug
- Modulenotfounderror: no module named 'scratch' ultimate solution
- Go language learning notes - first acquaintance with go language
- 中非 钻石副石怎么镶嵌,才能既安全又好看?
猜你喜欢
随机推荐
[crawler] Charles unknown error
POJ 3176-Cow Bowling(DP||记忆化搜索)
7.2 daily study 4
Zcmu--1390: queue problem (1)
The ninth Operation Committee meeting of dragon lizard community was successfully held
不要再说微服务可以解决一切问题了!
基于OpenHarmony的智能金属探测器
高校毕业求职难?“百日千万”网络招聘活动解决你的难题
DDRx寻址原理
Lombok 同时使⽤@Data和@Builder 的坑,你中招没?
MySQL statistical skills: on duplicate key update usage
Lombok makes ⽤ @data and @builder's pit at the same time. Are you hit?
Spark Tuning (I): from HQL to code
[office] eight usages of if function in Excel
R3live series learning (IV) r2live source code reading (2)
项目总结笔记系列 wsTax KT Session2 代码分析
C#实现WinForm DataGridView控件支持叠加数据绑定
COMSOL -- establishment of geometric model -- establishment of two-dimensional graphics
如何将 DevSecOps 引入企业?
Go language learning notes - first acquaintance with go language