问答详情
源自:1-6 IDEA部署和导入guns

在guns-admin的pom.xml文件的打包方式改为war后,出现异常

clean下然后package,

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)

http://img1.mukewang.com/5d9ed87b00019efe18941028.jpg

target下虽然有http://img3.mukewang.com/5d9ed894000151d402550058.jpg打开后发现1kb

提问者:慕圣5603621 2019-10-10 15:07

个回答

  • dudu0101
    2023-03-16 16:12:36

    在pom.xml文件中加一些配置试试