是否有人能够成功安装Eclipse Enterprise Edition和Liferay IDE?似乎对蓝宝石的东西有相互排斥的依赖,我找不到安装它们的黑客。
以下是Eclipse在尝试安装Liferay IDE时出现的错误:
Cannot complete the install because of a conflicting dependency.
Software being installed: Liferay IDE 1.3.1.v201108310601 (com.liferay.ide.eclipse.tools.feature.group 1.3.1.v201108310601)
Software currently installed: Oracle Web Tier Tools 1.7.3.201107052114 (oracle.eclipse.tools.indigo.webtier.feature.group 1.7.3.201107052114)
Only one of the following can be installed at once:
Sapphire Modeling Framework 0.2.3.201106221307 (org.eclipse.sapphire.modeling 0.2.3.201106221307)
Sapphire Modeling Framework 0.3.0.201106221325 (org.eclipse.sapphire.modeling 0.3.0.201106221325)
Cannot satisfy dependency:
From: Liferay Portlet Core 1.5.0.v201108310601 (com.liferay.ide.eclipse.portlet.core 1.5.0.v201108310601)
To: bundle org.eclipse.sapphire.modeling 0.3.1
Cannot satisfy dependency:
From: Liferay IDE 1.3.1.v201108310601 (com.liferay.ide.eclipse.tools.feature.group 1.3.1.v201108310601)
To: com.liferay.ide.eclipse.portlet.core [1.5.0.v201108310601]
Cannot satisfy dependency:
From: Oracle Web Tier Tools 1.7.3.201107052114 (oracle.eclipse.tools.indigo.webtier.feature.group 1.7.3.201107052114)
To: oracle.eclipse.tools.webtier.jsf [4.0.2.201107052114]
Cannot satisfy dependency:
From: Oracle WebLogic Server Tools 4.0.2.201107052114 (oracle.eclipse.tools.weblogic 4.0.2.201107052114)
To: bundle org.eclipse.sapphire.modeling [0.2.3,0.3.0)
Cannot satisfy dependency:
From: Oracle Web Tier Tools JSF 4.0.2.201107052114 (oracle.eclipse.tools.webtier.jsf 4.0.2.201107052114)
To: bundle oracle.eclipse.tools.weblogic [4.0.2,4.1.0)
答案 0 :(得分:2)
Liferay IDE的最新版本需要特定版本的Sapphire才能运行,因此无法与Oracle共同安装,而Oracle也需要不同的特定版本。
唯一的解决方法是下载Liferay IDE源并手动构建它,然后在构建之前,打开所有下载Liferay IDE插件(其中5个有蓝宝石deps)的蓝宝石要求的有效版本范围。注意:这意味着任何时候Liferay IDE中基于蓝宝石的功能实际上都会遇到需要的东西,它可能会失败,但其他一切都会正常工作。如果您有兴趣解决这个问题,我很乐意提供帮助,但我们应该继续这个对话:Liferay IDE Forums
答案 1 :(得分:0)
我得到了解决方案。首先安装oracle pack然后安装liferay Ide插件。它对我有用