错误组装WAR - webxml属性是必需的

运行./mvnw构建时,我打了jhipster应用如下:错误组装WAR - webxml属性是必需的

Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

回答:

这个回归的微服务已经报道了4.11.0和固定: https://github.com/jhipster/generator-jhipster/pull/6742。新版本应该在今晚提供。

在此期间,你可以通过设置failOnMissingWebXml为false修复它在自己的pom.xml:

   <plugin> 

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-war-plugin</artifactId>

<version>${maven-war-plugin.version}</version>

<configuration>

<failOnMissingWebXml>false</failOnMissingWebXml>

以上是 错误组装WAR - webxml属性是必需的 的全部内容, 来源链接: utcz.com/qa/257203.html

回到顶部