idea not found for the web module.

一、在idea中错误配置的工程会报 JmxAdminException and ExecutionException 异常

二、现象描述

启动tomcat弹出提示框

idea not found for the web module._第1张图片

控制台会打出如下日志

[2015-09-28 10:10:10,414] Artifact app-web:war exploded: Error during artifact deployment. See server log for details.

三、解决方法
1 idea ->file ->Project Strueture (Ctrl+Alt+Shift+S),做如下选择

3、单击From Modules 出如下效果

4、tomcat部署 选择app-web:war  

5、成功启动 ~—~
参考资料:http://www.jrelease.com/2015/05/02/deployment-in-tomcat-fails-with-jmxadminexception/ 

你可能感兴趣的:(idea)