Tomcat 6 Eclipse配置 - 服务器位置被锁定以进行编辑 [英] Tomcat 6 Eclipse config -- Server Locations locked for edit

查看:359
本文介绍了Tomcat 6 Eclipse配置 - 服务器位置被锁定以进行编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更改从Eclipse EE 1.4.1运行的Tomcat服务器的默认位置,以便它使用原始的Tomcat安装(在独立于控制台的情况下可以正常运行),而不是由Eclipse创建的Tomcat根据此线程在工作区中。但是,Tomcat服务器配置表单上的服务器位置部分全部显示为灰色(见红色矩形):

I am trying to change the default location for my Tomcat server running out of Eclipse EE 1.4.1 so that it uses the original Tomcat installation (which works fine when run standalone out of the console) and not the one created by Eclipse in the workspace as per this thread. However, my Server Locations section on the Tomcat server configuration form is all grayed out (see red rectangle):

为什么会这样

推荐答案

它在您发布的页面上全部显示:

It says it all on the page you published :

必须发布服务器,没有任何模块进行更改。

停止服务器。取消部署所有内容,然后(诀窍部分)点击发布以确保没有部署(即没有文件复制到部署位置,点击发布,您的服务器中没有模块将会清除所有部署的内容)。
然后您将可以更改设置。

Stop your server. Undeploy everything and then (the trick part) click on publish to be sure to have nothing deployed (ie no files copied to the deploy location, the click on publish with no module in your server will erase everything deployed). Then you will be able to change the setting.

这篇关于Tomcat 6 Eclipse配置 - 服务器位置被锁定以进行编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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