当前位置:网站首页>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
边栏推荐
- 如何通俗理解超级浏览器?可以用于哪些场景?有哪些品牌?
- SLAM 01. Modeling of human recognition Environment & path
- 【全网首发】(大表小技巧)有时候 2 小时的 SQL 操作,可能只要 1 分钟
- [there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
- msfconsole命令大全,以及使用说明
- Ddrx addressing principle
- AUTOCAD——遮罩命令、如何使用CAD对图纸进行局部放大
- Wechat nucleic acid detection appointment applet system graduation design completion (8) graduation design thesis template
- go语言学习笔记-初识Go语言
- 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
猜你喜欢
LSTM applied to MNIST dataset classification (compared with CNN)
COMSOL--三维图形的建立
Intelligent metal detector based on openharmony
一次edu证书站的挖掘
Go language learning notes - analyze the first program
AUTOCAD——遮罩命令、如何使用CAD对图纸进行局部放大
CDGA|数据治理不得不坚持的六个原则
Detailed explanation of DDR4 hardware schematic design
【广告系统】Parameter Server分布式训练
OneForAll安装使用
随机推荐
DOM//
Lombok makes ⽤ @data and @builder's pit at the same time. Are you hit?
技术分享 | 常见接口协议解析
Redis如何实现多可用区?
AutoCAD -- mask command, how to use CAD to locally enlarge drawings
Golang application topic - channel
Deepfake tutorial
msfconsole命令大全,以及使用说明
DDoS attack principle, the phenomenon of being attacked by DDoS
Advanced technology management - what is the physical, mental and mental strength of managers
Oneforall installation and use
解决访问国外公共静态资源速度慢的问题
Scaffold development foundation
Some understandings of heterogeneous graphs in DGL and the usage of heterogeneous graph convolution heterographconv
R3Live系列学习(四)R2Live源码阅读(2)
[TCP] TCP connection status JSON output on the server
Wechat nucleic acid detection appointment applet system graduation design completion (6) opening defense ppt
管理多个Instagram帐户防关联小技巧大分享
[SWT component] content scrolledcomposite
技术管理进阶——什么是管理者之体力、脑力、心力