Reputation: 94
i am using liferay 6.2 ga6 after installation when i am trying to create a new portlet it shows below error
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
then i referred below blog
https://web.liferay.com/community/forums/-/message_boards/message/74382032
and made below changes
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
i m getting the below error:
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
and finally error which is shown in image please check here
please help me resolve this issue .it would be great help.
Upvotes: 0
Views: 717
Reputation: 805
If you're unable to access this URL,you seem to be behind a proxy server. Try this Post and ivy proxy settings to set your proxy settings. In essence you need to proxy details to allow ivy to connect to repository for fetching artifacts,in your ivy settings xml file
<setproxy proxyhost="${proxy.host}"
proxyport="${proxy.port}"
nonproxyhosts="xyz.svn.com"/>
Upvotes: 0