intellij idea tomcat 啟動報錯not found for the web module
使用intellij idea 創建tomcat項目的時候會出現該錯誤:
啟動tomcat的時候報錯:
not found for the web module
解決方法:
1、設置正確的web.xml路徑
2、創建war包和web包在artifacts中
3.
在重新運行Tomcat的時候還會報錯, 說是unnamed.war包已經失效
然后將原來的war包刪除, 重新導入新建的war包, 問題解決!
---------------------
作者:kerryqpw
來源:CSDN
原文:https://blog.csdn.net/kerryqpw/article/details/70555526
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!