首页 > 解决方案 > build-common-ivy.xml 构建中的 Liferay 问题失败

问题描述

[ivy:resolve] :::: 错误 [ivy:resolve] url https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/biz/aQute/bnd/处的服务器访问错误biz.aQute.bnd/2.4.1/biz.aQute.bnd-2.4.1.jar (java.net.ConnectException: Connection timed out: connect) [ivy:resolve] [ivy:resolve] :: USE VERBOSE OR DEBUG更多详细信息的消息级别

BUILD FAILED E:\shubham\liferay-plugins-sdk-6.2.10.1\hooks\asset-publisher-hooks-hook\build.xml:5:执行此行时出现以下错误:E:\shubham\liferay-plugins -sdk-6.2.10.1\hooks\build-common-hook.xml:5:执行此行时出现以下错误:E:\shubham\liferay-plugins-sdk-6.2.10.1\build-common-plugin.xml :5: 执行此行时出现以下错误:E:\shubham\liferay-plugins-sdk-6.2.10.1\build-common.xml:57: 执行此行时出现以下错误:E:\shubham\liferay -plugins-sdk-6.2.10.1\build-common-ivy.xml:570:执行此行时出现以下错误:E:\shubham\liferay-plugins-sdk-6.2.10.1\build-common-ivy.xml :173: 执行此行时出现以下错误:E:\shubham\liferay-plugins-sdk-6.2.10.1\build-common-ivy.xml:202:无法解决依赖关系:解决失败 - 有关详细信息,请参阅输出

总时间:39秒

标签: liferayliferay-dxp

解决方案


Liferay 最近遇到了与他们的 CDN 提供商有关的问题并且已经切换。

如果您将 ivy-settings.xml 更改为使用https://repository-cdn.liferay.com/nexus/content/groups/public/,您应该没有问题。


推荐阅读