留言板

Custom Layout Not displaying in my portal

thumbnail
Riya M S,修改在11 年前。

Custom Layout Not displaying in my portal

Junior Member 帖子: 45 加入日期: 13-1-30 最近的帖子
Hi All,

I am using Liferay Portal Community Edition 6.1.1 CE GA2 and creating layout with 30%,30%,40% and i ant build it it showing message BUILD SUCCESSFUL but it not displaying on my portal .

so when i restarted my server so it shows following error i.e

11:59:23,540 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:763] Deploying BankTheme-layouttpl-6.0.5.1.war
11:59:23,540 ERROR [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:210] com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: BankTheme-layouttpl-6.0.5.1.war does not support this version of Liferay
com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: BankTheme-layouttpl-6.0.5.1.war does not support this version of Liferay
	at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:201)
	at com.liferay.portal.deploy.auto.LayoutTemplateAutoDeployListener.deploy(LayoutTemplateAutoDeployListener.java:52)
	at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:193)
	at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:235)
	at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:54)
Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: BankTheme-layouttpl-6.0.5.1.war does not support this version of Liferay
	at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:795)
	at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:198)
	... 4 more
11:59:23,541 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:216] Add BankTheme-layouttpl-6.0.5.1.war to the blacklist


this is my liferay-plugin-package.xml file

<!--?xml version="1.0" encoding="UTF-8"?-->


<plugin-package>
	<name>BankTheme Templates</name>
	<module-id>liferay/BankTheme-layouttpl/6.0.0.1/war</module-id>
	<types>
		<type>layout-template</type>
	</types>
	<short-description>
		This plugin is a BankTheme layout template.
	</short-description>
	<change-log></change-log>
	<page-url>http://www.liferay.com</page-url>
	<author>Liferay, Inc.</author>
	<licenses>
		<license osi-approved="true">LGPL</license>
	</licenses>
	<liferay-versions>
		<liferay-version>6.0.0+</liferay-version>
	</liferay-versions>
</plugin-package>
thumbnail
Gnaniyar Zubair,修改在11 年前。

RE: Custom Layout Not displaying in my portal

Liferay Master 帖子: 722 加入日期: 07-12-19 最近的帖子
Plugin also you have to use that same version. Hope you are using old version of plugin-sdk.

otherwise change the version in build.properties
lp.version=6.1.1
and build it again.
thumbnail
Riya M S,修改在11 年前。

RE: Custom Layout Not displaying in my portal

Junior Member 帖子: 45 加入日期: 13-1-30 最近的帖子
Gnaniyar Zubair:
Plugin also you have to use that same version. Hope you are using old version of plugin-sdk.

otherwise change the version in build.properties
lp.version=6.1.1
and build it again.



Thanks a lot it works fine after changing version in build.properties !! emoticon