【发布时间】:2014-01-31 15:32:32
【问题描述】:
问题是:在 Eclipse 中启动 tomcat 时出现超时错误,并且在调试模式下根本无法启动。
调试模式错误:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:741]
正常模式错误:Server Tomcat v7.0 at localhost was unable to start within 45 seconds. If the server requires more time...
请不要说我在没有部署任何应用程序的情况下启动 tomcat。
我已经检查了端口,但它们并没有被确定使用。
有什么想法吗?
【问题讨论】:
-
添加超过 45 秒的时间以在 Eclipse/Server 上双击启动您的 Tomcat,转到超时部分并增加“启动(以秒为单位)”中的值。
-
@RicardoGonzales :我增加了超时但徒劳无功。
-
然后检查我的答案。希望对你有帮助。