掲示板

Problem building portlet in Liferay 6.1

thumbnail
12年前 に onochie ojekwe によって更新されました。

Problem building portlet in Liferay 6.1

New Member 投稿: 17 参加年月日: 11/04/08 最新の投稿
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!
thumbnail
12年前 に Juan Gonzalez P によって更新されました。

RE: Problem building portlet in Liferay 6.1

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Try again. ECJ is installed and after that should work.
thumbnail
12年前 に David H Nebinger によって更新されました。

RE: Problem building portlet in Liferay 6.1

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
You have to add the new jars to the eclipse ant runtime. Search the forum to find the steps to do this.
thumbnail
12年前 に Juan Gonzalez P によって更新されました。

RE: Problem building portlet in Liferay 6.1

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Ohh right. I always compile using command line....
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Problem building portlet in Liferay 6.1

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
thumbnail
12年前 に Ravi Kumar Gupta によって更新されました。

RE: Problem building portlet in Liferay 6.1

Liferay Legend 投稿: 1302 参加年月日: 09/06/24 最新の投稿
If that's not working, follow this wiki, it will work fine. http://www.liferay.com/community/wiki/-/wiki/Main/ECJ
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Problem building portlet in Liferay 6.1

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Thanks Ravi, I forgot to paste the link.