我正在尝试部署在Tomcat上运行的Java Web应用程序.我拿到了这本书
适用于Web应用程序的专业Java:具有Websockets,Spring Framework,JPA Hibernate和Spring Security
我已经做了所有事情,以使IntelliJ IDEA 13与Tomcat 8.0.9一起工作.我手动测试了服务器容器,它工作得很好,甚至部署.war文件也很棒.然而,当我继续开始/调试一个Web应用程序 - 在这种情况下,第一个例子形成书 - 从IntelliJ应用程序不会开始.Tomcat日志中的输出并没有多说.
服务器输出告诉我这个:
Connected to server
[2014-08-08 09:17:35,075] Artifact Sample-Debug-IntelliJ:war exploded: Artifact is being deployed, please wait...
[2014-08-08 09:17:35,097] Artifact Sample-Debug-IntelliJ:war exploded: Error during artifact deployment. See server log for details.
[2014-08-08 09:17:35,098] Artifact Sample-Debug-IntelliJ:war exploded: com.intellij.javaee.oss.admin.jmx.JmxAdminException: com.intellij.execution.ExecutionException: L:\java-dev\java_web_apps_chapter_code\9781118656464 Full Code\Chapter 02\Sample-Debug- IntelliJ\target\sample-debug-intellij-1.0.0.SNAPSHOT not found for the web module.
08-Aug-2014 21:17:44.671 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory L:\java-dev\apache-tomcat-8.0.9\webapps\manager
08-Aug-2014 21:17:44.939 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application …Run Code Online (Sandbox Code Playgroud)