Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Zoheb Athar Siddiqui
how to build the code into liferay 6.0.6
July 10, 2012 6:49 AM
Answer

Zoheb Athar Siddiqui

Rank: New Member

Posts: 24

Join Date: May 15, 2012

Recent Posts

i am new in liferay portal development technology, i have downloaded the lifeary6.0.6 with bundelled version of JBOSS 1.5.0 and installed it successfully and now i have created a java web application in struts 1.2.7 in its lib folder i.e web /lib/ it is containing the portal-service.jar when i am deploying the war file build with these jar files i am getting error


2012-07-10 11:44:54,742 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) com.liferay.portal.kernel.deploy.auto.AutoDeployException: Sakri.war does not support this version of Liferay
2012-07-10 11:44:54,742 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:690)
2012-07-10 11:44:54,743 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.tools.deploy.BaseDeployer.deploy(BaseDeployer.java:454)
2012-07-10 11:44:54,743 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.deploy.auto.PortletAutoDeployer.autoDeploy(PortletAutoDeployer.java:92)
2012-07-10 11:44:54,743 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:78)
2012-07-10 11:44:54,744 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:180)
2012-07-10 11:44:54,744 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:221)
2012-07-10 11:44:54,744 ERROR (com.liferay.portal.kernel.deploy.auto.AutoDeployScanner) at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:49)

then i tried to find the portal-service.jsr file i am not getting.how to solve this problem
Ali Shahrami
RE: how to build the code into liferay 6.0.6
July 10, 2012 6:58 AM
Answer

Ali Shahrami

Rank: Junior Member

Posts: 52

Join Date: July 31, 2009

Recent Posts

Take a look at "Sakri/WEB-INF/liferay-portlet.xml" file and see if any Liferay version is defined. If so, make sure the value match the Liferay version you are running, in this case 6.0+