为什么tomcat服务器位置属性在Eclipse中是灰色的

use*_*291 64 java eclipse tomcat

我想更改服务器位置,但我不能它是灰色的(我不能选择最后一个单选按钮)我怎么能这样做:

在此输入图像描述

dim*_*sli 129

Servers视图上,删除在服务器下发布的所有Web应用程序(右键单击服务器> Remove或右键单击服务器> Add and Remove然后手动删除Web应用程序),最后右键单击服务器> Publish("空"内容).这样,您可以取消灰色" 服务器位置"区域.


sta*_*ker 11

正如对话框所说:"服务器必须在没有模块的情况下发布才能进行更改." 停止服务器删除任何模块.之后,将启用选项.


Kes*_*ath 8

One way to change the server location is by doing the following steps:

    1)Right click on the Server(Example Tomcat server).
    2)Go to Properties.
    3)Click on "Switch Location" , in the "General" tab.
    4)The "Location" information changes.
    5)Now go back and the settings will be enabled to change the Server Locations
Run Code Online (Sandbox Code Playgroud)