Fórum
Problem building portlet in Liferay 6.1
onochie ojekwe, modificado 11 Anos atrás.
Problem building portlet in Liferay 6.1
New Member Postagens: 17 Data de Entrada: 08/04/11 Postagens Recentes
Can anyone help me with this? I just created a Liferay Portlet Project and upon building in Eclipse i get this message on my console.
BUILD FAILED
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\portlets\testCOCIS-portlet\build.xml:5: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\portlets\build-common-portlet.xml:7: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\build-common-plugin.xml:5: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\build-common.xml:69: .
Task cannot continue because ECJ is not installed.
ECJ was automatically installed. Please rerun your task.
Total time: 1 second
Don't know how to resolve this or what the cause is!
BUILD FAILED
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\portlets\testCOCIS-portlet\build.xml:5: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\portlets\build-common-portlet.xml:7: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\build-common-plugin.xml:5: The following error occurred while executing this line:
C:\Liferay-6.1\liferay-plugins-sdk-6.1.0\build-common.xml:69: .
Task cannot continue because ECJ is not installed.
ECJ was automatically installed. Please rerun your task.
Total time: 1 second
Don't know how to resolve this or what the cause is!
Juan Gonzalez P, modificado 11 Anos atrás.
RE: Problem building portlet in Liferay 6.1
Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Try again. ECJ is installed and after that should work.
David H Nebinger, modificado 11 Anos atrás.
RE: Problem building portlet in Liferay 6.1
Liferay Legend Postagens: 14914 Data de Entrada: 02/09/06 Postagens Recentes
You have to add the new jars to the eclipse ant runtime. Search the forum to find the steps to do this.
Juan Gonzalez P, modificado 11 Anos atrás.
RE: Problem building portlet in Liferay 6.1
Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Ohh right. I always compile using command line....
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: Problem building portlet in Liferay 6.1
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Are you using Liferay IDE (eclipse + Liferay plugin)? If not, you really should.
http://www.liferay.com/ja/downloads/liferay-projects/liferay-ide
Any ways, read the following wiki to get your answer.
http://www.liferay.com/ja/downloads/liferay-projects/liferay-ide
Any ways, read the following wiki to get your answer.
Ravi Kumar Gupta, modificado 11 Anos atrás.
RE: Problem building portlet in Liferay 6.1
Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
If that's not working, follow this wiki, it will work fine. http://www.liferay.com/community/wiki/-/wiki/Main/ECJ
Hitoshi Ozawa, modificado 11 Anos atrás.
RE: Problem building portlet in Liferay 6.1
Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Thanks Ravi, I forgot to paste the link.