Description Resource Path Location Type web.xml is missing and is set to true

錯誤:

Description Resource Path Location Type web.xml is missing and <failOnMissingWebXml> is set to true pom.xml/ulearn line 8Maven Java EE Configuration Problem

在pom.xml中的<build>標籤中添加下面配置

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-war-plugin</artifactId>
    <version>2.6</version>
    <configuration>
         <failOnMissingWebXml>false</failOnMissingWebXml>
    </configuration>
 </plugin>
轉自:http://www.cnblogs.com/xxdfly/p/5742122.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章