我使用的Liferay安裝後6.2 GA6當我試圖創建一個新的portlet它顯示如下錯誤的Liferay 6.2 GA6創建第一個Portlet問題
BUILD FAILED
E:\liferay-basic-ga6\plugins\portlets\build.xml:5: The following error occurred while executing this line:
E:\liferay-basic-ga6\plugins\build-common-plugins.xml:5: The following error occurred while executing this line:
E:\liferay-basic-ga6\plugins\build-common.xml:60: The following error occurred while executing this line:
E:\liferay-basic-ga6\plugins\build-common-ivy.xml:130: The following error occurred while executing this line:
E:\liferay-basic-ga6\plugins\build-common-ivy.xml:81: HTTP Authorization failure
然後我提到下面博客
https://web.liferay.com/community/forums/-/message_boards/message/74382032
及以下所做的更改
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
IM提示以下錯誤:
Buildfile: M:\xxx\plugins\liferay-plugins-sdk-6.2\portlets\build.xml
[ivy:resolve] :: Apache Ivy 2.4.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = M:\xxx\plugins\liferay-plugins-sdk-6.2\ivy-settings.xml
,最終錯誤,在圖像顯示請點擊這裏
請幫我解決這個問題。它會是很大的幫助。
沒有作出新的博客的變化,可能你嘗試檢查,如果常春藤網址可以訪問到你通過瀏覽器和命令提示符。看起來像一個代理問題。 –
ivy url首先無法訪問它顯示訪問被拒絕,並提供登錄鏈接,當點擊404錯誤 –
你可以爲相同的後張截圖,也需要從互聯網選項 - >局域網settings.Asn代理URL您訪問代理的用戶名/密碼 –