Fórum

Failed while installing liferay portlet 6.0

Vallnice Lee, modificado 10 Anos atrás.

Failed while installing liferay portlet 6.0

New Member Postagens: 5 Data de Entrada: 02/03/13 Postagens Recentes
Hey guys,
when I created liferay project in Eclipse,a problem always occured ,which the image is in attachment.
here is the error log :

F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\portlets\build.xml:5: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-plugins.xml:5: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:44: Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-F:\eclipse_Liferay_IDE_1.6.2-win32\eclipse\plugins\org.apache.ant_1.8.3.v201301120609\lib
-C:\Users\lee\.ant\lib
-a directory added on the command line with the -lib argument

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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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(Thread.java:722)
Caused by: F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-plugins.xml:5: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:44: Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-F:\eclipse_Liferay_IDE_1.6.2-win32\eclipse\plugins\org.apache.ant_1.8.3.v201301120609\lib
-C:\Users\lee\.ant\lib
-a directory added on the command line with the -lib argument

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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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: F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common.xml:47: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:44: Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-F:\eclipse_Liferay_IDE_1.6.2-win32\eclipse\plugins\org.apache.ant_1.8.3.v201301120609\lib
-C:\Users\lee\.ant\lib
-a directory added on the command line with the -lib argument

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.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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: F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:44: Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-F:\eclipse_Liferay_IDE_1.6.2-win32\eclipse\plugins\org.apache.ant_1.8.3.v201301120609\lib
-C:\Users\lee\.ant\lib
-a directory added on the command line with the -lib argument

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.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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: F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:44: Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-F:\eclipse_Liferay_IDE_1.6.2-win32\eclipse\plugins\org.apache.ant_1.8.3.v201301120609\lib
-C:\Users\lee\.ant\lib
-a directory added on the command line with the -lib argument

at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:487)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:419)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
at org.apache.tools.ant.Task.perform(Task.java:347)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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

Thanks!
Tao Tao, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0

Vallnice Lee, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0

New Member Postagens: 5 Data de Entrada: 02/03/13 Postagens Recentes
Tao Tao:
Hi Vallnice,

It seems that it's an ant problem which happens when resolving the ivy cache from the ivy.settings file.
For the first step checking, you can try create project inside sdk_home directory, for example, if you want to create a portlet named sampleTest, you can go into sdk_home/portlets directory and use command line:
create.bat sampleTest SampleTest (windows)
create.sh sampleTest SampleTest (Linux)
After doing the test, if your ant is installed correctly, you probably won't get the same error, so please reinstall your liferay IDE 1.6.2 to a new eclipse bundle (like juno or kepler)
Liferay IDE 1.6.2

If all above doesn't work, you can also try our latest 2.0 release in a new eclipse bundle:
Liferay IDE 2.0.0 M3
And also you can upgrade your old version to the latest version, we provide you a wiki page for the upgrading steps that you can follow.
Upgrade Liferay IDE From 1.x to 2.0

Please let me know if that works. Thanks.


Hi Tao,
Thanks for your help,good news is that problem doesn't happen again after I changed to an old liferay-sdk downloaded before,
for testing I used your method and this is the result after create.bat sampleTest SampleTest (windows)

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\lee>f:

F:\>cd liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\portlets

F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\portlets>create.bat sampleTes
t SampleTest
Buildfile: F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\portlets\build
.xml
Unable to obtain resource from F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-
6.1.1\.ivy\ivy-2.3.0.jar: java.util.zip.ZipException: error in opening zip file
[taskdef] Unable to obtain resource from F:\liferay-plugins-sdk-6.1.1\liferay-
plugins-sdk-6.1.1\.ivy\ivy-2.3.0.jar:
[taskdef] java.util.zip.ZipException: error in opening zip file
[taskdef] at java.util.zip.ZipFile.open(Native Method)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:127)
[taskdef] at java.util.jar.JarFile.<init>(JarFile.java:136)
[taskdef] at java.util.jar.JarFile.<init>(JarFile.java:100)
[taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLo
ader.java:1006)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findN
extResource(AntClassLoader.java:149)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init
>(AntClassLoader.java:110)
[taskdef] at org.apache.tools.ant.AntClassLoader.findResources(AntClassLoa
der.java:953)
[taskdef] at org.apache.tools.ant.AntClassLoader.getNamedResources(AntClas
sLoader.java:922)
[taskdef] at org.apache.tools.ant.loader.AntClassLoader5.getResources(AntC
lassLoader5.java:58)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.resourceToURLs(Definer.
java:360)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:24
6)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:292)
[taskdef] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[taskdef] at java.lang.reflect.Method.invoke(Method.java:597)
[taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:348)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:435)
[taskdef] at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelpe
r2.java:168)
[taskdef] at org.apache.tools.ant.taskdefs.ImportTask.importResource(Impor
tTask.java:230)
[taskdef] at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.j
ava:162)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:292)
[taskdef] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[taskdef] at java.lang.reflect.Method.invoke(Method.java:597)
[taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:348)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:435)
[taskdef] at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelpe
r2.java:168)
[taskdef] at org.apache.tools.ant.taskdefs.ImportTask.importResource(Impor
tTask.java:230)
[taskdef] at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.j
ava:162)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:292)
[taskdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[taskdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[taskdef] at java.lang.reflect.Method.invoke(Method.java:597)
[taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:348)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:435)
[taskdef] at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelpe
r2.java:168)
[taskdef] at org.apache.tools.ant.taskdefs.ImportTask.importResource(Impor
tTask.java:230)
[taskdef] at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.j
ava:162)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:292)
[taskdef] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[taskdef] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[taskdef] at java.lang.reflect.Method.invoke(Method.java:597)
[taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:106)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:348)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:435)
[taskdef] at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelpe
r2.java:179)
[taskdef] at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHe
lper.java:93)
[taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:826)
[taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:235)
[taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[taskdef] Could not load definitions from resource org/apache/ivy/ant/antlib.x
ml. It could not be found.

BUILD FAILED
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\portlets\build.xml:5: The
following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-plugins.xml:
5: The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common.xml:47: The
following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:34:
The following error occurred while executing this line:
F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\build-common-ivy.xml:44:
Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-F:\apache-ant-1.9.2-bin\apache-ant-1.9.2\lib
-C:\Users\lee\.ant\lib
-a directory added on the command line with the -lib argument


Total time: 0 seconds

F:\liferay-plugins-sdk-6.1.1\liferay-plugins-sdk-6.1.1\portlets>

please have a look,Thanks
Tao Tao, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0 (Resposta)

Vallnice Lee, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0

New Member Postagens: 5 Data de Entrada: 02/03/13 Postagens Recentes
Tao Tao:
Hi Vallnice,

From your recent error log, I can find out it is the network problem. The ivy-2.3.0.jar is not fully downloaded and so it makes the error happen. If your downloading for the ivy jar file and ivy cache are making trouble, here is a workaround, from the link below you can download all you need for the ivy, then just unzip it and replace the .ivy folder inside your sdk with this one.
http://ftp.liferay.com/ivy-cache.zip

I hope the link is still available when you're downloading. Please let me know if the sdk creating project works.


Hi Tao,

Thanks very much! It works now! Could you tell me how you found it was the network problem?
And I wonder if I need to replace the .ivy folder every time after unzipping the sdk downloaded from Liferay.com?
Thank you again.
Tao Tao, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0

thumbnail
Praveen P, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0

Regular Member Postagens: 100 Data de Entrada: 21/02/12 Postagens Recentes
Not able to download ivy-cache.zip file from above link http://ftp.liferay.com/ivy-cache.zip
Please somebody help me emoticon
thumbnail
Gregory Amerson, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0

Liferay Legend Postagens: 1123 Data de Entrada: 16/02/10 Postagens Recentes
Praveen P:
Not able to download ivy-cache.zip file from above link http://ftp.liferay.com/ivy-cache.zip
Please somebody help me emoticon



Try this one: http://files.liferay.org.es/staged/public-files/liferay-ide/dependencies/files/ivy-cache.zip
thumbnail
Praveen P, modificado 10 Anos atrás.

RE: Failed while installing liferay portlet 6.0

Regular Member Postagens: 100 Data de Entrada: 21/02/12 Postagens Recentes
Thank you emoticon