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.