使用eclipse啓動tomcat,正常模式下能夠啓動tomcat,卻在debug模式下沒法啓動tomcat。tomcat
這個問題多是因爲eclipse和tomcat的交互而產生的,在以debug模式啓動tomcat時,發生了讀取文件錯誤,eclipse自動設置了斷點,致使tomcat不能正常啓動。eclipse
解決方法把breakpoints veiw都刪除就行了,步驟以下:window->show view->Breakpoints。在Breakpoints視圖中右鍵,Remove alldebug