Cannot start Tomcat to debug in Eclips - tomcat localhost-config is missing, 'Starting Tomcat v7.0 Server at localhost' has encountered a problem.
2012-05-15 10:49
363 查看
在Eclipse的JavaEE环境中,点击run下拉run as- run on server, 选择index.jsp,启动tomcat调试失败,错误信息:Tomcat localhost-config is missing, 'Starting Tomcat v7.0 Server at localhost' has encountered a problem.如何解决?
Services,stop Tomcat service,otherwise the port will be in using。
JavaEE Servers tab page, remove all existing...then create a new server of Tomcat7.0 server, finish
Double click on the "Tomcat7" entry to see the configuration.
Then click on the "Open launch configuration" link in the "General information" block.
In the dialog, select the "Classpath" tab.
At "Bootstrap entries", Click the "Add external jar" button.
Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar" (Use Everything to locate the file)
Click "Apply", Close the dialog.
Start tomcat 7 from Eclipse.10. Debug breakpoints:
Select index.jsp, set break point in controller classes.
Click eclips menu: "Run - Debug as - Debug on server"
Services,stop Tomcat service,otherwise the port will be in using。
JavaEE Servers tab page, remove all existing...then create a new server of Tomcat7.0 server, finish
Double click on the "Tomcat7" entry to see the configuration.
Then click on the "Open launch configuration" link in the "General information" block.
In the dialog, select the "Classpath" tab.
At "Bootstrap entries", Click the "Add external jar" button.
Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar" (Use Everything to locate the file)
Click "Apply", Close the dialog.
Start tomcat 7 from Eclipse.10. Debug breakpoints:
Select index.jsp, set break point in controller classes.
Click eclips menu: "Run - Debug as - Debug on server"
相关文章推荐
- Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
- Android-67-Tomcat启动出错:Server Tomcat v7.0 Server at localhost failed to start.
- Server Tomcat v7.0 Server at localhost failed to start.解决办法
- 错误:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds
- Server Tomcat v8.0 Server at localhost failed to start.
- Tomcat启动超时问题Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds
- Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds
- 出现Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds.
- tomcat 启动异常 Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardCont
- "Cannot allocate memory" OutofMemory when call Ant to build Polish project in Tomcat
- Server Tomcat v7.0 Server at localhost failed to start.解决办法
- Server Tomcat v7.0 Server at localhost failed to start解决方法
- Server Tomcat v7.0 Server at localhost failed to start.解决办法
- tomcat运行时出现了Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]等错误
- Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds
- Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server require
- Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds
- Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds...
- eclipse报错Server Tomcat v7.0 Server at localhost failed to start.
- [解决]Server Tomcat v7.0 Server at localhost failed to start.