首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

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

2012-10-31 
eclipse中server location为灰色,不能修改Eclipse中tomcat service设置发布时间︰选择window ----show view

eclipse中server location为灰色,不能修改
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本地管理首页。

热点排行