[英]Eclipse Servers view not showing added Tomcat runtime environment
I am running Eclipse Helios SR2 (the EE version) on Ubuntu 11.04. 我在Ubuntu 11.04上运行Eclipse Helios SR2(EE版本)。 I installed tomcat6.0.29 manually and can start/ stop it ok.
我手动安装了tomcat6.0.29,可以启动/停止它。 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.
我可以成功地将Tomcat 6 Server Runtime环境添加到eclipse中 - 我从未遇到过“无法创建服务器”的问题,但环境从未出现在我的Servers视图中。
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 ? 我已经尝试了许多途径但没有成功(安装aptitude tomcat6和创建链接等相同的问题)有关如何进展的任何建议?
Other info:I have exactly the same issue with a brand new install of Eclipse Indigo (the EE version) 其他信息:我对全新安装的Eclipse Indigo(EE版本)存在完全相同的问题
I have java-6-sun installed: 我安装了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 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 had this problem a week ago (on Ubuntu 11.04). 我一周前遇到过这个问题(在Ubuntu 11.04上)。 I failed to find why it doesn't show the servers in the view - they appear in the Servers project.
我没有找到为什么它不在视图中显示服务器 - 它们出现在Servers项目中。 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") (当然,假设您在服务器视图中右键单击并选择“新建 - >服务器”)
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) 更改Tomcat配置文件的权限为我解决了问题(无需创建新工作区)
chmod 664 /usr/share/tomcat6/conf/*
It seems that if you add runtime that cannot read configuration, you are not able add such server under "Servers" window... 似乎如果添加无法读取配置的运行时,则无法在“服务器”窗口下添加此类服务器...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.