从Eclipse中的项目中删除Apache TomCat运行时? [英] Removing the Apache TomCat runtime from a project in Eclipse?

查看:244
本文介绍了从Eclipse中的项目中删除Apache TomCat运行时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目我一直在Eclipse Ganymede上构建,目标是tomcat 6.0,我已将其导入Europa,我需要它在apache Tomcat 5.5上运行

I've got a project I've been building on Eclipse Ganymede targetted at tomcat 6.0, I've imported it into Europa and I need it to run on apache Tomcat 5.5

我找不到对运行时设置为6.0的位置的引用以将其删除。我已经尝试过Windows> preferences> Server,我已经安装了5.5运行时。

I can't find the reference to where the runtime is set to 6.0 to remove it. I've tried going to Windows > preferences > Server and I've installed the 5.5 runtime.

但我似乎无法找到引用6.0的引用位置删除它。

I can't however seem to find where the reference is to runtime 6.0 to remove it.

任何帮助都将不胜感激。

Any help would be appreciated.

更新:

我在构建路径中找不到对Tomcat v6.0的任何引用,但是有一个对tomcat 5.5的servlet-api.jar的引用虽然...

I cant find any reference to Tomcat v6.0 in my build path, there is a reference to the servlet-api.jar of tomcat 5.5 though...

推荐答案

当Eclipse启动并运行时,从窗口菜单中选择首选项。从左侧的栏中选择:服务器,运行时环境。

When Eclipse is up and running, choose preferences from the window menu. Choose from the bar on the left: Server, Runtime Environments.

单击添加按钮,选择所需的版本。

Click the button Add, choose the version you want.

要删除6.0参考,请转到库选项卡。

To remove the 6.0 reference, goto the libraries tab.

这篇关于从Eclipse中的项目中删除Apache TomCat运行时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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