Tomcat fails to start in Debug mode

Tomcat fails to start in Debug mode


Environment: eclipse, JDK1.6, tomcat6.0
Problem: It is no problem to start tomcat normally in the server, and the javaweb project can also be accessed normally. If it is started in debug mode, the speed is very slow (it seems to be in that startup state all the time, as shown in the figure) , and after a while, it will prompt the timeout and automatically stop the tomcat service. I also checked some solutions on the Internet, modifying the startup time and modifying the tomcat memory are all useless, the error is as follows:






Later, I found some information. This problem may be caused by the interaction between eclipse and tomcat. When starting tomcat in debug mode, a file reading error occurred, and eclipse automatically set a breakpoint, which caused tomcat to not start normally. The solution is as follows, open the breakpoints veiw, right-click -> Remove all, and then restart the debug mode.



Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326802429&siteId=291194637