Foros de discusión

failed to create Liferay project

lara kloss, modificado hace 10 años.

failed to create Liferay project

New Member Mensajes: 16 Fecha de incorporación: 8/10/13 Mensajes recientes
I am using
Eclipse Version: Juno Service Release 1
Build id: 20120920-0800

Latest Liferay CE :
liferay-portal-6.1.2-ce-ga3

Latest Eclipse IDE plugin
liferay-ide-eclipse-updatesite-1.6.2

Latest SDk
liferay-plugins-sdk-6.1.1-20130816114619181

Installed successfully.

Then when I try to create the Liferay Portlet project I get following error:
Failed while installing Liferay portlet 6.0.

Error Log says:
Error
Tue Oct 08 12:00:26 GMT+05:30 2013
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\portlets\build.xml:5: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-plugins.xml:5: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:50: impossible to resolve dependencies:
resolve failed - see output for details

D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\portlets\build.xml:5: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-plugins.xml:5: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:50: impossible to resolve dependencies:
resolve failed - see output for details
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:238)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.parseBuildFile(InternalAntRunner.java:350)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:642)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:498)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:298)
at java.lang.Thread.run(Unknown Source)
Caused by: D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-plugins.xml:5: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:50: impossible to resolve dependencies:
resolve failed - see output for details
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:238)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:229)
... 20 more
Caused by: D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:50: impossible to resolve dependencies:
resolve failed - see output for details
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:238)
at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:229)
... 31 more
Caused by: D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:50: impossible to resolve dependencies:
resolve failed - see output for details
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401)
at net.sf.antcontrib.logic.ForTask.doSequentialIteration(ForTask.java:259)
at net.sf.antcontrib.logic.ForTask.doToken(ForTask.java:268)
at net.sf.antcontrib.logic.ForTask.doTheTasks(ForTask.java:299)
at net.sf.antcontrib.logic.ForTask.execute(ForTask.java:244)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:169)
at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:229)
... 41 more
Caused by: D:\liferay-plugins-sdk-6.1.1-20130816114619181\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:50: impossible to resolve dependencies:
resolve failed - see output for details
at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:400)
at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
... 54 more
Caused by: resolve failed - see output for details
at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:333)
... 97 more
lara kloss, modificado hace 10 años.

RE: failed to create Liferay project

New Member Mensajes: 16 Fecha de incorporación: 8/10/13 Mensajes recientes
In program console it prints following error message

[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.pom
[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/sf/jargs/1.0/jargs-1.0.pom
[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED

Is it trying to connect to remote server?
but I have downloaded sdk and plugin from Liferay site. isn't it complete?
lara kloss, modificado hace 10 años.

RE: failed to create Liferay project

New Member Mensajes: 16 Fecha de incorporación: 8/10/13 Mensajes recientes
I downloaded the
Eclipse Juno SR2 + Liferay IDE

then installed the SDK.

Still while creating the Liferay Project get the same error.
lara kloss, modificado hace 10 años.

RE: failed to create Liferay project

New Member Mensajes: 16 Fecha de incorporación: 8/10/13 Mensajes recientes
[ivy:resolve] :::: ERRORS
[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.pom
[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/sf/jargs/1.0/jargs-1.0.pom
[ivy:resolve] Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/net/sf/jargs/1.0/jargs-1.0.jar
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
D:\liferay-plugins-sdk-6.1.1\portlets\build.xml:5: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1\build-common-plugins.xml:5: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
D:\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:50: impossible to resolve dependencies:
resolve failed - see output for details
lara kloss, modificado hace 10 años.

RE: failed to create Liferay project

New Member Mensajes: 16 Fecha de incorporación: 8/10/13 Mensajes recientes
why there is no reply to my this issue?
thumbnail
Gregory Amerson, modificado hace 10 años.

RE: failed to create Liferay project

Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
Hello Lara,

It appears that the Ivy resolve process inside of the Liferay Plugins SDK is failing when it tries to create a new process. Go into your Liferay Plugins SDK folder and open the ivy-settings.xml file. Notice that it points to some online repositories. It seems that your system is having trouble connecting to those remote repositories. See the log messages about the failing certificates (when its trying to connect to the https:// server of jboss repository ).

Can you tell me if you have any special configuration required for connecting to those repositories? Proxy?
thumbnail
Jan Geißler, modificado hace 10 años.

RE: failed to create Liferay project

Liferay Master Mensajes: 735 Fecha de incorporación: 5/07/11 Mensajes recientes
HI!
I hab the same issue. In my case it was due to the upgrade to "Maverick" on my Mac. You need to reinstall this java release:
http://support.apple.com/kb/DL1572
Which will add the missing cacerts in the Java security Folder.

try this on the cosole:

keytool -list -keystore /Library/Java/JavaVirtualMachines/1.6.0_45-b06-451.jdk/Contents/Home/lib/security/cacerts -storepass changeit

it will print all the entries in the cacert file.

Hope this helps.
thumbnail
ranjit reval, modificado hace 10 años.

RE: failed to create Liferay project

New Member Mensajes: 9 Fecha de incorporación: 25/10/13 Mensajes recientes
check this issue
http://www.liferay.com/community/forums/-/message_boards/message/32413770

or
http://ftp.liferay.com/ivy-cache.zip
download zip from above link and replace .ivy folder in plugin sdk
Mauricio Cubaque, modificado hace 10 años.

RE: failed to create Liferay project

New Member Mensajes: 2 Fecha de incorporación: 27/01/14 Mensajes recientes
The .zip is corrupted, what a solution!
thumbnail
Gregory Amerson, modificado hace 10 años.

RE: failed to create Liferay project

Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
Jonathan Hell, modificado hace 10 años.

RE: failed to create Liferay project

New Member Mensajes: 4 Fecha de incorporación: 14/03/14 Mensajes recientes
Thank you so much Gregory! You saved my day emoticon
Amauri Da Silva Junior, modificado hace 6 años.

RE: failed to create Liferay project

New Member Mensaje: 1 Fecha de incorporación: 22/02/18 Mensajes recientes
Sorry for "resseurect" this post but I solved this problem with an alternative solution.
I work at a big company with a lot of network directives, so, I set up liferay in my local machine and use my 4G connection to access the marketplace.
Trought the 4G i connect with success but in out local network it didn't.
I'll see what happened and then I'll post here.
Thanks