2016-09-15 3 views
0

내가 블로그을 Liferay 6.2 ga6 만드는 첫 번째 포틀릿 문제

https://web.liferay.com/community/forums/-/message_boards/message/74382032

아래에 언급이

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 

다음 오류 아래 표시하는 새 포틀릿을 생성하려고 할 때 내가하는 Liferay 설치 후 6.2 ga6을 사용하고 있습니다

아래 만들어진

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

메신저 변경 아래의 오류가 점점 :

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 

마지막 오류 이미지에 표시됩니다 여기에서 확인하시기 바랍니다

enter image description here

날 .IT가 큰 도움이 될 것입니다이 문제를 해결하는 데 도움이 바랍니다.

+0

에 가져 오는 이슈를 리포지토리에 연결할 수 담쟁이 수 있도록 프록시 정보 필요 브라우저 및 명령 프롬프트를 통해. 프록시 문제처럼 보입니다. –

+0

ivy url에 액세스 할 수 없다는 것은 먼저 액세스 거부를 표시하고 로그인 링크를 제공하고 그 404 오류를 클릭하면 –

+0

동일한 스크린 샷을 게시 할 수 있습니까? 또한 인터넷 옵션 -> LAN 설정에서 프록시 URL을 가져야합니다. 프록시에 액세스하기위한 사용자 이름/비밀번호 –

답변

0

이 URL에 액세스 할 수없는 경우 프록시 서버를 사용하는 것으로 보입니다. Postivy proxy settings을 사용해 프록시 설정을 지정하십시오. 본질적으로 당신은 당신이 담쟁이 URL이에 액세스 할 수 있는지 확인 시도해 볼 수도, 새로운 블로그를 변경하지 않고 당신의 담쟁이 설정 XML 파일

<setproxy proxyhost="${proxy.host}" 
     proxyport="${proxy.port}" 
     nonproxyhosts="xyz.svn.com"/> 
+0

이 추가되었지만 작동하지 않습니다. 제공된 링크에 표시된대로 변경해야하는지 알고 있습니다. –

+0

오류 로그에 따르면 프록시 서버가 잘못 구성되어있는 것 같습니다. 액세스 할 수없는 경우 먼저 브라우저를 통해 ivy 및 cdn URL에 액세스하십시오. 그러면이 프록시를 구성한 네트워크 팀에서 정렬됩니다. . –

+0

도움 주셔서 감사합니다. –