Eclipse与tomcat - eclipse修改server.xml [英] Eclipse with tomcat - eclipse modifies server.xml

查看:237
本文介绍了Eclipse与tomcat - eclipse修改server.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用tomcat安装模式中使用tomcat与eclipse。我的问题是,eclipse每次都覆盖tomcats server.xml,并删除我的crossContext =true元素。

I use tomcat with eclipse in 'Use tomcat installation' mode. My problem is, that eclipse overwrites tomcats server.xml every time, and deletes my crossContext="true" elements.

我应该使用自定义的位置吗?或者eclipse安装是错误的?

Should I use custom location? Or the eclipse setup is wrong?

谢谢!

推荐答案

可以在eclipse工作区中的Server项目/文件夹中编辑等效的配置文件。那些是配置文件,eclipse正在覆盖在Tomcat安装下找到的配置文件。

You can edit the equivalent configuration files inside your "Server" project/folder in the eclipse workspace. Those are the configuration files with which eclipse is overwriting the ones found under your Tomcat installation.

这篇关于Eclipse与tomcat - eclipse修改server.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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