错误:-返回的HTTP响应代码:403,URL:http://cdn.lfrs.sl/repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
建立失败 E:\ Liferay \ com.liferay.portal.plugins.sdk-1.0.11-withdependencies \ portlets \ build.xml:5:执行此行时发生以下错误: E:\ Liferay \ com.liferay.portal.plugins.sdk-1.0.11-withdependencies \ build-common-plugins.xml:5:执行此行时发生以下错误: E:\ Liferay \ com.liferay.portal.plugins.sdk-1.0.11-withdependencies \ build-common.xml:57:执行此行时发生以下错误: E:\ Liferay \ com.liferay.portal.plugins.sdk-1.0.11-withdependencies \ build-common-ivy.xml:41:java.io.IOException:服务器返回URL的HTTP响应代码:403:{{3 }}
总时间:2秒
我已经创建了新的Portlet,并在发生上述问题时连接到插件。
我已经下载了jar并将其设置在.ivy文件夹中,但是再次出现相同的问题。 请给我不同的选择。
答案 0 :(得分:0)
替换:
ivy.jar.url=https://cdn.lfrs.sl/repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/${ivy.version}/org.apache.ivy-${ivy.version}.jar
具有:
ivy.jar.url=https://repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/${ivy.version}/org.apache.ivy-${ivy.version}.jar