2016-05-17 11 views
1

Ich habe das Liferay IDE 3.0-Plugin auf Eclipse, Liferay Portal 6.2 CE - GA6 Server mit Tomcat, Liferay-Plugins SDK 6.2 installiert .Liferay 6.2 erste Anwendung Build fehlgeschlagen- bei Build-common-ivy.xml: 81: HTTP-Autorisierung fehlgeschlagen

Versuchen, mein erstes Portlet zu erstellen, aber mit Build-Fehler endet, mit dem folgenden Fehler. Ihre Hilfe wird sehr geschätzt, danke.

Buildfile: E:\liferay-plugins-sdk-6.2\portlets\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\shiva\.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\shiva\.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\shiva\.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 
E:\liferay-plugins-sdk-6.2\portlets\build.xml:5: The following error occurred while executing this line: 

E:\liferay-plugins-sdk-6.2\build-common-plugins.xml:5: The following error occurred while executing this line: 

E:\liferay-plugins-sdk-6.2\build-common.xml:60: The following error occurred while executing this line: 

E:\liferay-plugins-sdk-6.2\build-common-ivy.xml:130: The following error occurred while executing this line: 

E:\liferay-plugins-sdk-6.2\build-common-ivy.xml:81: HTTP Authorization failure 

Total time: 1 second 

Antwort

4

In build.properties Datei ändert nur den Wert von ivy.jar .url zu:

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

Es gibt ein Problem im Repository !!

stand ich das gleiche Problem und es funktioniert jetzt

+0

Ich denke, dass dieser Link jetzt nicht zugänglich ist :(. Ich antworte mit einer neuen URL, die nicht in Maven Central Repository ist. Mehr Chancen, aktiv zu bleiben (ich hoffe!). – lpratlong

0

this- Kopieren Sie den „Efeu-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar“ aus frischen sdk und Schädlinge in .ivy Ordner versuchen

Verwandte Themen