war exploded: Error during artifact deployment.

war exploded: Error during artifact deployment.

war exploded: Error during artifact deployment. See server log for details.



22-Jan-2018 22:53:12.636 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\imagine\.IntelliJIdea2017.3\system\tomcat\Unnamed_MVCModel
22-Jan-2018 22:53:12.636 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\D\apache-tomcat-8.5.24
22-Jan-2018 22:53:12.636 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\D\apache-tomcat-8.5.24\temp
22-Jan-2018 22:53:12.901 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
22-Jan-2018 22:53:12.917 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
22-Jan-2018 22:53:12.917 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
22-Jan-2018 22:53:12.932 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
22-Jan-2018 22:53:12.932 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 652 ms
22-Jan-2018 22:53:12.948 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
22-Jan-2018 22:53:12.948 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.24
22-Jan-2018 22:53:12.964 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
22-Jan-2018 22:53:12.964 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
22-Jan-2018 22:53:12.979 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 46 ms
Connected to server
[2018-01-22 10:53:13,214] Artifact MVCModel:war exploded: Artifact is being deployed, please wait...
[2018-01-22 10:53:13,245] Artifact MVCModel:war exploded: Error during artifact deployment. See server log for details.
[2018-01-22 10:53:13,245] Artifact MVCModel:war exploded: com.intellij.javaee.oss.admin.jmx.JmxAdminException: com.intellij.execution.ExecutionException: C:\D\apache-tomcat-8.5.24\webapps\MVCModel not found for the web module.
22-Jan-2018 22:53:22.965 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\D\apache-tomcat-8.5.24\webapps\manager]
22-Jan-2018 22:53:23.293 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\D\apache-tomcat-8.5.24\webapps\manager] has finished in [328] ms

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

1回答
好帮手慕珊 2018-01-23 10:24:53

[2018-01-22 10:53:13,245] Artifact MVCModel:war exploded: com.intellij.javaee.oss.admin.jmx.JmxAdminException: com.intellij.execution.ExecutionException: C:\D\apache-tomcat-8.5.24\webapps\MVCModel not found for the web module.

报错提示说没有MVCModel这个module,查看一下是否部署了一个 叫做MVCModel的项目。也就是在下图中添加MVCModel试试。

http://img1.sycdn.imooc.com//climg/5a669cd90001c10e07340213.jpg

祝学习愉快!

问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
Java Web基础入门2018版
  • 参与学习       716    人
  • 提交作业       185    份
  • 解答问题       1363    个

会Java?懂前端基础?想学后台开发?那么,赶快来学习《Java Web入门》路径吧。本路径主要介绍Java Web的基础知识,并配有大量案例,定会让你收获多多!

了解课程
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师