Cannot start Tomcat to debug in Eclips
在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"
页:
[1]