ECJ jar not installed


Today , When I am deploying the new plugin portlet using the ant tool i got a build failed with error stack trace as,

               Task cannot continue because ECJ is not installed.

               ECJ was automatically installed. Please rerun your task.

As below screenshot as,



So what to do ?, how to proceed further?

Here it is

In Eclipse Go to windows menu, click on the preferences




We will see the following screesnshot select the ant and click on the Runtime, by default Classpath tab is selected, click on the Global Entries



Then click on the Add External JARS button and select ECJ jar file from the <liferay-tomcat>/tomcat/lib.





Click OK button to save the changes.

Thats it now we can build the portlet.

Comments

Popular posts from this blog

How to know which liferay version we are using

Viewing the SQL Query in liferay : debugging the SQL Query in Hibernate

Opening portlet in popup