Eclipse中tomcat service設置
選擇window ----show view---services可以看到服務的面板
雙擊tomcat進入配置界面Service Locations(Specify the server path (i.e. catalina.base) and deploy path. Server must be published with no modules present to make changes.)選項變灰色無法更改配置。
若要更改,則先把tomcat下的所有項目移除。並右擊,clean...之后方可設置。。。啟動后將又變為黑色。
默認選項為:
Use workspace metadata(dose not modify Tomcat installation)
修改選項為:
Use Tomcat installation(takes control of Tomcat installation)

這樣在Eclipse啟動了tomcat服務器,我們也能夠訪問到tomcat本地管理首頁。
