使用 Oracle Enterprise Pack 在 Eclipse 中安装 Liferay IDE
有人能够成功安装 Oracle Enterprise Pack for Eclipse 和 Liferay IDE 吗?对蓝宝石的东西似乎存在相互排斥的依赖,我找不到安装两者的方法。
以下是尝试安装 Liferay IDE 时 Eclipse 给出的错误:
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)
Has anyone been able to successfully install the Oracle Enterprise Pack for Eclipse AND the Liferay IDE? There seems to be a mutually exclusive dependency on the Sapphire stuff and I can't find a hack for installing both.
Here is the error given by Eclipse when trying to install the 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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最新版本的 Liferay IDE 需要特定版本的 Sapphire 才能运行,因此它无法与 Oracle 共同安装,而 Oracle 也需要不同的特定版本。
唯一的解决方法是下载 Liferay IDE 源代码并手动构建它,在构建之前,为所有下载的 Liferay IDE 插件(其中 5 个具有蓝宝石依赖项)打开蓝宝石要求的有效版本范围。注意:这意味着每当 Liferay IDE 中基于蓝宝石的功能实际遇到所需的东西时,它可能会失败,但其他一切都会正常工作。如果您有兴趣解决这个问题,我很乐意提供帮助,但我们应该在这里继续对话:Liferay IDE 论坛
The Latest release of Liferay IDE requires a specific version of Sapphire to operate so it cannot be co-installed with Oracle that also requires a specific version that is different.
The only workaround would be to download the Liferay IDE source and build it manually and before building it, open up the valid version range for the sapphire requirements on all download Liferay IDE plugins (5 of them have sapphire deps). Note: this would mean that any time a sapphire based feature in Liferay IDE actually hit something that was required it may fail but everything else would work normally. If you are interested in going this far to fix this problem I will be glad to help but we should continue that conversation here: Liferay IDE Forums
我得到了解决方案。先安装oracle pack,然后安装liferay Ide插件。它对我有用
I got the solution. Install oracle pack first and then install liferay Ide plugin.It worked for me