Monday, October 7, 2013

Liferay : Portlets : Task cannot continue because ECJ is not installed

While going through Liferay Portal 6.0 - Development Guide : Creating a Portlet I got error on running ant task.
Task cannot continue because ECJ is not installed.
ECJ was automatically installed. Please rerun your task.

After searching for solution got Solve ECJ error in liferay IDE on Liferay Solutions.

Just followed the steps suggested.
Window -> Preferences -> Ant -> Runtime 
Then Ant Home Button and  Add external jar called ecj.jar which was in plugin-sdk-folder-path/lib

And After running the Ant Task portlet deployed successfully.

1 comment:

  1. brillant piece of information, I had come to know about your web-page from my friend hardkik, chennai,i have read atleast 9 posts of yours by now, and let me tell you, your webpage gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new posts, once again hats off to you! Thanx a million once again, Regards liferay training in hyderabad