eclipse中server location为灰色,不能修改

来源:互联网 发布:centos 5.5 漏洞加固 编辑:程序博客网 时间:2024/06/05 02:26

转自:http://tomcat.guan8.net/tomcat/42438.html

(原来为繁体,转为简体)


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本地管理首頁。
否則只能在DOS下使用Tomcat的啟動命令才能訪問Tomcat本地管理首頁。


原创粉丝点击