【问题标题】:The module has not been deployed. Tomcat 8.0 and Netbeans 8.0.2该模块尚未部署。 Tomcat 8.0 和 Netbeans 8.0.2
【发布时间】:2015-06-06 18:47:31
【问题描述】:

我正在尝试将 Tomcat 8.0 与 Netbeans 8.0.2 连接并使用这些 2 运行项目。

我已经正确设置了 Tomcat,并且从 Services->Servers 我可以看到它正在运行。当我尝试构建我正在处理的项目时,它正在构建而没有任何失败,但是当我尝试运行它时,它带有此消息:

C:\Users\Aris\Desktop\ted\Ted_auctions\nbproject\build-impl.xml:1052: The module has not been deployed. See the server log for details.

虽然服务器日志没有提供任何信息,但我正在查看 build-impl.xml @ 第 1052 行,这就是它所说的:

<target if="netbeans.home" name="-run-deploy-nb">
<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
</target>

1052 行在中间一行..任何人都知道为什么部署失败?如果这已经在其他地方得到回答,我很抱歉,我只是找不到任何其他解决方案。

提前致谢!

【问题讨论】:

  • 为什么你认为“服务器日志没有提供任何信息”?出现这种情况的唯一原因是部署 URL 错误。

标签: java tomcat netbeans


【解决方案1】:

对不起,这是服务器日志,我也应该发布这个..

Jun 06, 2015 2:39:04 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 06, 2015 2:39:04 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 06, 2015 2:39:04 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@317f2eba')
Jun 06, 2015 2:41:42 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jun 06, 2015 2:41:42 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jun 06, 2015 2:41:48 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 06, 2015 2:41:48 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 06, 2015 2:41:48 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@4ba3b734')
Jun 06, 2015 4:18:29 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jun 06, 2015 4:18:29 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jun 06, 2015 7:16:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 06, 2015 7:16:35 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 06, 2015 7:16:35 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@13a57a45')
Jun 06, 2015 9:18:39 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jun 06, 2015 9:18:39 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jun 06, 2015 9:19:07 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 06, 2015 9:19:07 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 06, 2015 9:19:07 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@5c523672')

【讨论】:

    猜你喜欢
    • 2015-04-30
    • 2015-01-22
    • 2014-01-03
    • 1970-01-01
    • 2014-09-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多