Why tomcat server location property is greyed in Eclipse

后端 未结 4 2055
太阳男子
太阳男子 2020-12-02 06:52

I want to change server location but I can\'t it\'s greyed (I cannot select last radio button) how can I do it then:

相关标签:
4条回答
  • 2020-12-02 07:20

    If you are still dont see the option enabled, start the tomcat and then it will be enabled.

    0 讨论(0)
  • 2020-12-02 07:22

    As the dialog says : "Server must be published with no modules present to make changes." Stop the server remove any modules. After that the options will be enabled.

    0 讨论(0)
  • 2020-12-02 07:28

    On the Servers view, delete all the webapps published under your server (right click on the server > Remove or right click on the server > Add and Remove and then remove manually the webapps) and finally right click on the server > Publish (the 'empty' content). This way you would un-gray the Server Locations area.

    0 讨论(0)
  • 2020-12-02 07:38
    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
    
    0 讨论(0)
提交回复
热议问题