0
Вот мой build.xml
:"HTTP Ошибка авторизации" построения Liferay портлета в Затмении
<?xml version="1.0"?>
<!DOCTYPE project>
<project name="build-common-portlet">
<import file="../build-common-plugin.xml" />
</project>
Я использую Liferay портлета в Eclipse. Когда я запускаю build.xml как сборку Ant, он терпит неудачу.
Вот след ошибка:
Buildfile: G:\softwares\lifeRay_CMS\plugin\liferay-plugins-sdk-6.2\portlets\Sample-portlet\build.xml
[get] Getting: http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] To: C:\Users\user\.liferay\mirrors\cdn.repository.liferay.com\nexus\content\repositories\liferay-snapshots-ce\com\liferay\org.apache.ivy\2.4.0.LIFERAY-PATCHED-1-SNAPSHOT\org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] Error getting http://mirrors.lax.liferay.com/cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar to C:\Users\user\.liferay\mirrors\cdn.repository.liferay.com\nexus\content\repositories\liferay-snapshots-ce\com\liferay\org.apache.ivy\2.4.0.LIFERAY-PATCHED-1-SNAPSHOT\org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] Getting: http://cdn.repository.liferay.com/nexus/content/repositories/liferay-snapshots-ce/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
[get] To: C:\Users\user\.liferay\mirrors\cdn.repository.liferay.com\nexus\content\repositories\liferay-snapshots-ce\com\liferay\org.apache.ivy\2.4.0.LIFERAY-PATCHED-1-SNAPSHOT\org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
BUILD FAILED
G:\softwares\lifeRay_CMS\plugin\liferay-plugins-sdk-6.2\portlets\Sample-portlet\build.xml:5: The following error occurred while executing this line:
G:\softwares\lifeRay_CMS\plugin\liferay-plugins-sdk-6.2\portlets\build-common-portlet.xml:5: The following error occurred while executing this line:
G:\softwares\lifeRay_CMS\plugin\liferay-plugins-sdk-6.2\build-common-plugin.xml:5: The following error occurred while executing this line:
G:\softwares\lifeRay_CMS\plugin\liferay-plugins-sdk-6.2\build-common.xml:60: The following error occurred while executing this line:
G:\softwares\lifeRay_CMS\plugin\liferay-plugins-sdk-6.2\build-common-ivy.xml:130: The following error occurred while executing this line:
G:\softwares\lifeRay_CMS\plugin\liferay-plugins-sdk-6.2\build-common-ivy.xml:81: HTTP Authorization failure
Показать ваши следы ошибок. –
@ ParkashKumar отредактирован с ошибкой. –
[*** Этот ***] (https://web.liferay.com/community/forums/-/message_boards/message/74382032) может вам помочь. –