Eclipse “Server Locations” section disabled and ne

2019-01-04 18:15发布

I have set up a dynamic web project in Eclipse with a Tomcat 5.5 installation.

I want to be to set the server to us the Tomcat installation instead of the workspace metadata location, but when Eclipse displays the "Overview" screen for the server the "Server Locations" section is disabled and therefore I am unable to change it.

The overview screen is displayed when you have the servers view open and you then double click on the server.

Is it possible to enable this part of the "Overview" screen or hack a config file to point at the Tomcat installation?

11条回答
Fickle 薄情
2楼-- · 2019-01-04 18:28

I started Eclipse as admin, and it worked.

查看更多
小情绪 Triste *
3楼-- · 2019-01-04 18:35

If your server is not loaded with heavy configuration, the best solution would be to delete the tomcat and set it again.
It will be much easier then doing try and error for 7-10 times! enter image description here

查看更多
我欲成王,谁敢阻挡
4楼-- · 2019-01-04 18:35

If the former actions haven't had effect, backup your server configurations, remove the server and reinclude it. It was my case.

查看更多
男人必须洒脱
5楼-- · 2019-01-04 18:35

Before making any changes in Tomcat Server Location, you need to remove project(s) deployed on server.

To remove project: expand tomcat server in "Servers" view
right click and select remove

查看更多
叼着烟拽天下
6楼-- · 2019-01-04 18:40

Make sure that there is no project Deploy in server. If so ,please right click on server ,select add and remove ,Then remove all project. After this you can double click on server and the option will be enabled for you.

查看更多
登录 后发表回答