掲示板
Liferay 6.2 first application build failed-HTTP Authorization failure
7年前 に Chandan Sharma によって更新されました。
Liferay 6.2 first application build failed-HTTP Authorization failure
Junior Member 投稿: 54 参加年月日: 14/03/04 最新の投稿
HI All,
I have done liferay 6.2 ga6 setup with the following softwares
1)liferay-plugins-sdk-6.2-ce-ga6-20160112152609836
2)liferay-portal-src-6.2-ce-ga6-20160112152609836
3)apache-tomcat-7.0.42
4)Eclipse-Kepler (already liferay-IDE existed)
but while creating the first liferay project I am getting following error ,so any one could you please help me out
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
I have done liferay 6.2 ga6 setup with the following softwares
1)liferay-plugins-sdk-6.2-ce-ga6-20160112152609836
2)liferay-portal-src-6.2-ce-ga6-20160112152609836
3)apache-tomcat-7.0.42
4)Eclipse-Kepler (already liferay-IDE existed)
but while creating the first liferay project I am getting following error ,so any one could you please help me out
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
7年前 に Bangaru Raju Potnuru によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 22 参加年月日: 14/11/22 最新の投稿
Hi Chandan Sharma I am also facing with the same issue ,if you find please let me know
7年前 に Bangaru Raju Potnuru によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 22 参加年月日: 14/11/22 最新の投稿
Hi Chandan Sharma
My problem got resolved ,i have just changed the following properties values
1) ivy.version = 2.3.0
2)ivy.jar.url = http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar in build.{UserName}.properties
My problem got resolved ,i have just changed the following properties values
1) ivy.version = 2.3.0
2)ivy.jar.url = http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar in build.{UserName}.properties
7年前 に udith narangoda によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 1 参加年月日: 17/02/10 最新の投稿
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
7年前 に Jingfeng Zhou によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 5 参加年月日: 17/02/15 最新の投稿
Hello, Bangaru Raju Potnuru:
Can you tell me which file have you changed?
I'm using liferay 6.2 and I can only find "liferay-plugin-package.properties" in my project.
However, in "liferay-plugin-package.properties" file I can't find "ivy.version" and "ivy.jar.url".
Can you help me solve this problem?
Can you tell me which file have you changed?
I'm using liferay 6.2 and I can only find "liferay-plugin-package.properties" in my project.
However, in "liferay-plugin-package.properties" file I can't find "ivy.version" and "ivy.jar.url".
Can you help me solve this problem?
添付ファイル:
6年前 に Bangaru Raju Potnuru によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 22 参加年月日: 14/11/22 最新の投稿
check this file build.{UserName}.properties
6年前 に Cody Hoag によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
Junior Member 投稿: 70 参加年月日: 12/04/26 最新の投稿
A new 6.2 GA6 Plugins SDK has been uploaded to SourceForge that fixes this issue. You can visit the following link and click the liferay-plugins-sdk-6.2-ce-ga6 link to download:
https://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.5%20GA6/
https://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.5%20GA6/
7年前 に Nitesh Korat によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 1 参加年月日: 11/01/19 最新の投稿
Hi Chandan,
I was getting the same exception and was able to resolve it by replacing "ivy.jar.url" from build.properties to new url as below,
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
They apparently change the repository of Liferay, you can check it on Date Modification on :https://repository.liferay.com/nexus/content/repositories/
Thanks,
- Nitesh
I was getting the same exception and was able to resolve it by replacing "ivy.jar.url" from build.properties to new url as below,
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
They apparently change the repository of Liferay, you can check it on Date Modification on :https://repository.liferay.com/nexus/content/repositories/
Thanks,
- Nitesh
7年前 に gordon daniels によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
Liferay Master 投稿: 797 参加年月日: 08/08/24 最新の投稿
Nitesh - thanks for the solution. Why Liferay allows a broken sdk to remain on sourceforge is puzzling.
thanks again.
thanks again.
7年前 に Sérgio Esteves によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 4 参加年月日: 16/04/11 最新の投稿
Nitesh, I was having the same problem and your solution worked perfectly. Thank you, I appreciate!
Sérgio Esteves.
Sérgio Esteves.
7年前 に Abdelilah Charki によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 1 参加年月日: 16/11/23 最新の投稿
Thank you Nitesh..
7年前 に Jingfeng Zhou によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 5 参加年月日: 17/02/15 最新の投稿
Hello, Nitesh Korat:
Can you tell me which file have you changed?
I'm using liferay 6.2 and I can only find "liferay-plugin-package.properties" in my project.
However, in "liferay-plugin-package.properties" file I can't find "ivy.version" and "ivy.jar.url".
Can you help me solve this problem?
Can you tell me which file have you changed?
I'm using liferay 6.2 and I can only find "liferay-plugin-package.properties" in my project.
However, in "liferay-plugin-package.properties" file I can't find "ivy.version" and "ivy.jar.url".
Can you help me solve this problem?
添付ファイル:
7年前 に Jingfeng Zhou によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 5 参加年月日: 17/02/15 最新の投稿
6年前 に sachin singh によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 1 参加年月日: 17/10/16 最新の投稿
Thanks Dear Nitesh Your solution works perfectly but after adding that line from my build.properties ,I am facing a new issue while creating the liferay plug-in project. Please find the errors below.
Buildfile: E:\tools\liferay-plugins-sdk-6.2\portlets\build.xml
[get] Getting: http://mirrors.lax.liferay.com/repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar
[get] To: C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
[get] Error getting http://mirrors.lax.liferay.com/repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar to C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar
[get] To: C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
[get] Error getting http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar to C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
BUILD FAILED
E:\tools\liferay-plugins-sdk-6.2\portlets\build.xml:5: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common-plugins.xml:5: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common.xml:60: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common-ivy.xml:130: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common-ivy.xml:81: java.net.SocketException: Unexpected end of file from server
Total time: 22 minutes 10 seconds
I am only assuming that error is due to changing the version of ivy jar
Buildfile: E:\tools\liferay-plugins-sdk-6.2\portlets\build.xml
[get] Getting: http://mirrors.lax.liferay.com/repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar
[get] To: C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
[get] Error getting http://mirrors.lax.liferay.com/repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar to C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar
[get] To: C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
[get] Error getting http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0 /ivy-2.3.0 .jar to C:\Users\intime\.liferay\mirrors\repo1.maven.org\maven2\org\apache\ivy\ivy\2.3.0 \ivy-2.3.0 .jar
BUILD FAILED
E:\tools\liferay-plugins-sdk-6.2\portlets\build.xml:5: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common-plugins.xml:5: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common.xml:60: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common-ivy.xml:130: The following error occurred while executing this line:
E:\tools\liferay-plugins-sdk-6.2\build-common-ivy.xml:81: java.net.SocketException: Unexpected end of file from server
Total time: 22 minutes 10 seconds
I am only assuming that error is due to changing the version of ivy jar
6年前 に alex alex によって更新されました。
RE: Liferay 6.2 first application build failed-HTTP Authorization failure
New Member 投稿: 24 参加年月日: 17/02/15 最新の投稿
Thanks Dear Nitesh Your solution works perfectly
Thank you
Thank you