当前位置:网站首页>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
边栏推荐
- 【广告系统】增量训练 & 特征准入/特征淘汰
- pytorch训练进程被中断了
- 解决readObjectStart: expect { or n, but found N, error found in #1 byte of ...||..., bigger context ..
- 数据库三大范式
- Paradigm in database: first paradigm, second paradigm, third paradigm
- iframe
- DDoS attack principle, the phenomenon of being attacked by DDoS
- [JS learning notes 54] BFC mode
- 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
- Ffmpeg calls avformat_ open_ Error -22 returned during input (invalid argument)
猜你喜欢
高校毕业求职难?“百日千万”网络招聘活动解决你的难题
How to close the log window in vray5.2
【爬虫】wasm遇到的bug
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
基础篇——REST风格开发
Three suggestions for purchasing small spacing LED display
OneForAll安装使用
7 大主题、9 位技术大咖!龙蜥大讲堂7月硬核直播预告抢先看,明天见
【爬虫】charles unknown错误
A mining of edu certificate station
随机推荐
我用开天平台做了一个城市防疫政策查询系统【开天aPaaS大作战】
Four departments: from now on to the end of October, carry out the "100 day action" on gas safety
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
Risc-v-qemu-virt in FreeRTOS_ Scheduling opportunity of GCC
Wechat nucleic acid detection appointment applet system graduation design completion (6) opening defense ppt
COMSOL--三维图形的建立
Three paradigms of database
Zcmu--1390: queue problem (1)
解决grpc连接问题Dial成功状态为TransientFailure
[advertising system] incremental training & feature access / feature elimination
regular expression
【全网首发】(大表小技巧)有时候 2 小时的 SQL 操作,可能只要 1 分钟
Codeforces Round #804 (Div. 2)
[there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
Variables///
How to close the log window in vray5.2
Basics - rest style development
-26374 and -26377 errors during coneroller execution
2022 Pengcheng cup Web
[JS learning notes 54] BFC mode