Foros

Inicio » Liferay IDE » English

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
lara kloss
failed to create Liferay project
7 de octubre de 2013 23:51
Respuesta

lara kloss

Ranking: New Member

Mensajes: 16

Fecha de incorporación: 7 de octubre de 2013

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
RE: failed to create Liferay project
8 de octubre de 2013 2:27
Respuesta

lara kloss

Ranking: New Member

Mensajes: 16

Fecha de incorporación: 7 de octubre de 2013

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
RE: failed to create Liferay project
8 de octubre de 2013 4:12
Respuesta

lara kloss

Ranking: New Member

Mensajes: 16

Fecha de incorporación: 7 de octubre de 2013

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
RE: failed to create Liferay project
8 de octubre de 2013 6:07
Respuesta

lara kloss

Ranking: New Member

Mensajes: 16

Fecha de incorporación: 7 de octubre de 2013

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
RE: failed to create Liferay project
14 de octubre de 2013 22:42
Respuesta

lara kloss

Ranking: New Member

Mensajes: 16

Fecha de incorporación: 7 de octubre de 2013

Mensajes recientes

why there is no reply to my this issue?
Gregory Amerson
RE: failed to create Liferay project
23 de octubre de 2013 19:33
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1041

Fecha de incorporación: 16 de febrero de 2010

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?
Jan Geißler
RE: failed to create Liferay project
7 de noviembre de 2013 3:05
Respuesta

Jan Geißler

Community Moderator

Ranking: Liferay Master

Mensajes: 735

Fecha de incorporación: 5 de julio de 2011

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.
ranjit reval
RE: failed to create Liferay project
17 de diciembre de 2013 22:32
Respuesta

ranjit reval

Ranking: New Member

Mensajes: 9

Fecha de incorporación: 25 de octubre de 2013

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
RE: failed to create Liferay project
7 de febrero de 2014 10:12
Respuesta

Mauricio Cubaque

Ranking: New Member

Mensajes: 2

Fecha de incorporación: 27 de enero de 2014

Mensajes recientes

The .zip is corrupted, what a solution!
Gregory Amerson
RE: failed to create Liferay project
10 de febrero de 2014 22:59
Respuesta

Gregory Amerson

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1041

Fecha de incorporación: 16 de febrero de 2010

Mensajes recientes

Jonathan Hell
RE: failed to create Liferay project
14 de marzo de 2014 8:57
Respuesta

Jonathan Hell

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 14 de marzo de 2014

Mensajes recientes

Thank you so much Gregory! You saved my day emoticon