Eclipse“服务器位置”部分禁用,需要更改才能使用Tomcat安装 [英] Eclipse "Server Locations" section disabled and need to change to use Tomcat installation

查看:194
本文介绍了Eclipse“服务器位置”部分禁用,需要更改才能使用Tomcat安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Eclipse中设置了一个动态Web项目,安装了Tomcat 5.5。



我想将服务器设置为Tomcat安装,而不是工作区元数据位置,但是当Eclipse显示服务器的概述屏幕时,服务器位置部分被禁用,因此我无法更改。



概述当您将服务器视图打开时,将显示屏幕,然后双击服务器。



是否可以启用此概述屏幕的一部分或黑客入侵配置文件指向Tomcat安装?

解决方案

好的,对于我以前的答案,我从来没有见过概述屏幕



这是我如何做:

  1. 在服务器视图中右键单击我的tomcat服务器,选择属性...

  2. 在常规面板中,单击切换位置按钮

  3. 位置:[工作区元数据]

  4. 打开(或关闭并重新打开)服务器的概述屏幕。

  5. 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?

    解决方案

    Ok, sorry for my previous answer, I had never seen that Overview screen before.

    Here is how I did it:

    1. Right click on my tomcat server in "Servers" view, select "Properties…"
    2. In the "General" panel, click on the "Switch Location" button
    3. The "Location: [workspace metadata]" bit should have been replaced by something else.
    4. Open (or close and reopen) the Overview screen for the server.

    这篇关于Eclipse“服务器位置”部分禁用,需要更改才能使用Tomcat安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆