无法用eclipse安装Liferay

时间:2017-06-20 06:42:30

标签: eclipse installation liferay liferay-ide

我正试图用Eclipse进行Liferay。因此,在安装插件时,我收到错误消息“无法完成,因为无法找到一个或多个必需的项目”enter image description here

enter image description here

enter image description here

  

无法完成安装,因为找不到一个或多个必需的项目。     正在安装的软件:Liferay IDE 3.1.0.201705141336-b1(com.liferay.ide.eclipse.tools.feature.group 3.1.0.201705141336-b1)     缺少要求:biz.aQute.remote.api 3.4.0.201705121927-SNAPSHOT(biz.aQute.remote.api 3.4.0.201705121927-SNAPSHOT)需要'package org.osgi.framework.dto [1.8.0,2.0.0)'但它无法找到     无法满足依赖:       来自:Blade Tools 2.1.0.REL-20170514-003119-g924bba6(com.liferay.blade.tools.feature.group 2.1.0.REL-20170514-003119-g924bba6)       收件人:biz.aQute.remote.api [3.4.0.201705121927-SNAPSHOT]     无法满足依赖:       来自:Liferay IDE 3.1.0.201705141336-b1(com.liferay.ide.eclipse.tools.feature.group 3.1.0.201705141336-b1)       致:com.liferay.blade.tools.feature.group 2.0.0

1 个答案:

答案 0 :(得分:1)

您的Eclipse版本对于此代码来说太旧了。

该错误表明它至少需要org.osgi.framework.dto包的1.8版本。在Eclipse 4.4之前,这个包没有添加到Eclipse中。当前版本的Eclipse(Eclipse Neon.3)包含此软件包的1.8版本。