Foros de discusión

how to build the code into liferay 6.0.6

Zoheb Athar Siddiqui, modificado hace 11 años.

how to build the code into liferay 6.0.6

New Member Mensajes: 24 Fecha de incorporación: 15/05/12 Mensajes recientes
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 [STDERR] (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 [STDERR] (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 [STDERR] (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 [STDERR] (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 [STDERR] (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 [STDERR] (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 [STDERR] (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 [STDERR] (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
thumbnail
Ali Shahrami, modificado hace 11 años.

RE: how to build the code into liferay 6.0.6

Junior Member Mensajes: 52 Fecha de incorporación: 1/08/09 Mensajes recientes
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+