intellij idea tomcat 启动报错not found for the web module

intellij idea tomcat 启动报错not found for the web module


      使用intellij idea 创建tomcat项目的时候会出现该错误:


     启动tomcat的时候报错:

     not found for the web module

   


    解决方法:

   1、设置正确的web.xml路径

  

    3、创建war包和web包在artifacts中

  


  

你可能感兴趣的:(java)