我正在努力让我的 Netbeans IDE 将我的 Java Web 项目部署到 tomcat 服务器(我通常使用 Eclipse)。我已经在 Netbeans (8.0.1) 中设置了 tomcat 服务器 (7.0.55),并且可以启动和停止服务器。不幸的是,当我尝试部署任何应用程序时,我收到此错误:
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
In-place deployment at C:\Users\kevin.bowersox\Documents\NetBeansProjects\WebApplication1\build\web
Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%2FKEVIN%7E1.BOW%2FAppData%2FLocal%2FTemp%2F1%2Fcontext882537679043940070.xml&path=/WebApplication1
Connection timed out: connect
C:\Users\kevin.bowersox\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:1070: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 6 minutes 0 seconds)
我检查了所有的 tomcat 日志(catalina.out、localhost 等),但它们没有揭示导致此错误的原因。我可以在日志中看到服务器启动发生,但是部署失败。目前我只部署一个非常简单的 Java Web 应用程序(基本上是最初创建的)。
谁能指出我正确的方向或告诉我在哪里可以找到更多调试输出?在过去的几个小时里,我在谷歌上搜索了这个问题,但没有运气。谢谢。