Eclipse:为liferay-maven-plugin安装m2e连接器时出错

时间:2014-03-03 19:34:26

标签: eclipse maven eclipse-plugin

将maven项目导入Eclipse(安装maven插件后)时出现以下错误:

UNKNOWN HOST: http://releases.liferay.com/tools/ide/latest/stable/compositeContent.xml
softlayer-ams.dl.sourceforge.net

Error installing m2e connector for liferay-maven-plugin contacting repository         http://releases.liferay.com/tools/ide/latest/stable/

我应该安装Liferay IDE吗? liferay - http://releases.liferay.com/tools/ide/latest/milestone/

有什么想法吗?

我现在安装了liferay插件

Cannot complete the install because of a conflicting dependency.
m2e connector for jaxb2 3.0.0.20130330-0126
m2e connector for mavenarchiver pom properties  0.16.0.201401211452
m2e-liferay - Maven Integration for Liferay IDE 2.0.1.201401270944-ga2

我能够导入项目,但现在它说:

  The container 'Maven Dependencies' references non existing library jnlp-1.6.jar

2 个答案:

答案 0 :(得分:1)

解决:卸载Eclipse。然后使用所需的插件重新安装。

答案 1 :(得分:0)

我解决了安装“Maven Integration for WTP”的问题

对于Eclipse Kepler,您可以在此处找到它:

http://download.eclipse.org/releases/kepler

m2e-wtp - WTP的Maven集成(版本1.0.1)

它位于“Web,XML,Java EE和OSGi ......”中。

此软件包包含“ m2e - Eclipse的Maven集成”,之前我的问题是我以前只安装了这个