2017-11-25 60 views
0

を必要とする./mvnwビルドを実行しているとき、私はjhipsterアプリで、次を打つよ:エラー - webxml属性が

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

答えて

1

この回帰microservicesのためには、4.11.0で報告され、修正されました: https://github.com/jhipster/generator-jhipster/pull/6742。今晩は新しいリリースが利用できるはずです。一方

あなたはfalseにfailOnMissingWebXmlを設定することによって、あなた自身ののpom.xmlにそれを修正することができます:

   <plugin> 
        <groupId>org.apache.maven.plugins</groupId> 
        <artifactId>maven-war-plugin</artifactId> 
        <version>${maven-war-plugin.version}</version> 
        <configuration> 
         <failOnMissingWebXml>false</failOnMissingWebXml> 
関連する問題