liferay - 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秒
解决方案
Liferay 最近遇到了与他们的 CDN 提供商有关的问题并且已经切换。
如果您将 ivy-settings.xml 更改为使用https://repository-cdn.liferay.com/nexus/content/groups/public/,您应该没有问题。
推荐阅读
- css - 将背景图像 image_tag 添加到 div
- node.js - Nodejs跟随系统无法正常工作
- flutter - Flutter:如何使小部件在几秒钟后消失?
- github - 带有 Sphinx 生成文档的 Github 页面无法正确显示 HTML
- unity3d - 无法输入 Unity Inspector
- r - 如果列中出现负值,如何复制列?
- java - org.springframework.beans.factory.BeanCreationException:创建名为“flywayInitializer”的bean时出错
- node.js - 为什么我的 sinon 存根表现得像在调用真正的函数?
- javascript - Highcharts arearange 图不尊重“connectEnds”选项
- c++ - c++中的显式比较