打war包命令报错

来源:-

吐槽者

2019-01-04 16:59

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project guns-admin: 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

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :guns-admin


写回答 关注

1回答

  • 吐槽者
    2019-01-04 17:25:21

    已解决!

    https://blog.csdn.net/lmb55/article/details/76168474

基于SpringBoot 十分钟搞定后台管理平台

大道至简之Guns框架介绍,带你领略代码自动生成

42417 学习 · 201 问题

查看课程

相似问题