liferay plugin project项目问题解决

新建liferay plugin project遇到问题:

(1)Could not resolve archetype com.liferay.maven.archetypes

!ENTRY com.liferay.ide.project.core 4 0 2016-11-07 10:59:29.182

!MESSAGE Error creating Liferay plugin project.
!STACK 1

org.eclipse.core.runtime.CoreException: Could not resolve archetype com.liferay.maven.archetypes:liferay-portlet-archetype:6.2.1 from any of the configured repositories.


明显是: com.liferay.maven.archetypes:

中liferay-portlet-archetype:6.2.1 遇到了问题:

解决方案:

在http://mavensearch.io/repo/com.liferay.maven.archetypes/liferay-portlet-archetype/6.2.1上找到对应的jar包,和pom直接放到。之后直接在eclipse新建项目即可。


或者直接无通过代理联网后,直接在eclipse新建portlet项目即可,eclipse会自动下载所需的jar包

(2)Plugin execution not covered by lifecycle configuration


pom中<build> <plugins>标签之间加上一个<pluginManagement>标签

<build>

<pluginManagement>

<plugins>
<plugin>

</plugin>
</plugins>
</pluginManagement>
</build>

(3)Failed to read artifact descriptor for xxx:jar

在eclipse的pom.xml点击后,右击查看提示,按提示新建一个服务器即可。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值