問題描述:
創建Maven項目時,出現web.xml is missing and is set to true錯誤
解決方案:
1.在視圖Project Explorer中,選擇Deployment Descriptor項目並鼠標右鍵。
2.選擇Generate Deployment Descriptor Stub\
當然如果是eclipse javaee的話可能會不太一樣, 如下圖
最後 問題完美解決
參考:
http://blog.csdn.net/stemq/article/details/52919931
https://stackoverflow.com/questions/31835033/web-xml-is-missing-and-failonmissingwebxml-is-set-to-true