Eclipse 服务器视图未显示添加的 Tomcat 运行时环境
我在 Ubuntu 11.04 上运行 Eclipse Helios SR2(EE 版本)。 我手动安装了tomcat6.0.29并且可以启动/停止它。 我可以将 Tomcat 6 服务器运行时环境成功添加到 eclipse - 我从未遇到过“无法创建服务器”问题,但是该环境从不显示在我的服务器视图中。
我尝试了很多途径但没有成功(安装 aptitude tomcat6 和创建链接等也有同样的问题) 关于如何取得进展有什么建议吗?
其他信息:我在全新安装 Eclipse Indigo(EE 版本)时遇到完全相同的问题,
我安装了 java-6-sun:
update-java-alternatives -l java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun java-6-sun 63 /usr/lib/jvm/java-6-sun
I am running Eclipse Helios SR2 (the EE version) on Ubuntu 11.04.
I installed tomcat6.0.29 manually and can start/ stop it ok.
I can add the Tomcat 6 Server Runtime environment successfully to eclipse - I've never had the "Cannot create the server" problem however the environment never show up in my Servers view.
I've tried many avenues but no success (same issue with installing the aptitude tomcat6 and creating links etc)
Any suggestions on how to progress this ?
Other info:I have exactly the same issue with a brand new install of Eclipse Indigo (the EE version)
I have java-6-sun installed:
update-java-alternatives -l
java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun
java-6-sun 63 /usr/lib/jvm/java-6-sun
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我一周前遇到了这个问题(在 Ubuntu 11.04 上)。我无法找到为什么它不在视图中显示服务器 - 它们出现在服务器项目中。但我通过切换到新的工作空间来修复它。
(当然,假设您在服务器视图中右键单击并选择“新建 -> 服务器”)
I had this problem a week ago (on Ubuntu 11.04). I failed to find why it doesn't show the servers in the view - they appear in the Servers project. But I fixed it by switching to a fresh workspace.
(Of course, assuming you have right-clicked in the server view and chose "New -> server")
嗯,我正在检查可能是什么问题。我能够添加运行时,但无法添加新服务器。
更改 Tomcat 配置文件的权限为我解决了这个问题(无需创建新的工作区)
似乎如果您添加无法读取配置的运行时,则无法在“服务器”窗口下添加此类服务器...
Well I was inspecting what might be the issue. I was able to add a runtime but cannot add a new server.
Changing permissions of Tomcat configuration files solved the issue for me (without creating a new workspace)
It seems that if you add runtime that cannot read configuration, you are not able add such server under "Servers" window...