Forums de discussion

.war does not support this version of liferay

Shikhar Saran Srivastava, modifié il y a 8 années.

.war does not support this version of liferay

New Member Publications: 17 Date d'inscription: 20/09/15 Publications récentes
my log file is showing me this error;

10:03:27,864 ERROR [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:220] com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: sites-portlet-6.2.10.1.war does not support this version of Liferay
com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: sites-portlet-6.2.10.1.war does not support this version of Liferay
	at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:216)
	at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:36)
	at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:88)
	at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.deploy(AutoDeployDir.java:50)
	at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:211)
	at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:275)
	at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:58)


how to resolve this problem?
thumbnail
Samuel Kong, modifié il y a 8 années.

RE: .war does not support this version of liferay

Liferay Legend Publications: 1902 Date d'inscription: 10/03/08 Publications récentes
You need to either get an updated version of the portlet that runs on your version of the portal or you need to use a different version of the portal.

If sites-portlet is something that you wrote yourself, you can change the portal version it supports in /WEB-INF/liferay-plugin-package.properties.
Shikhar Saran Srivastava, modifié il y a 8 années.

RE: .war does not support this version of liferay

New Member Publications: 17 Date d'inscription: 20/09/15 Publications récentes
what version should i write?
thumbnail
Bijan Vakili, modifié il y a 8 années.

RE: .war does not support this version of liferay

Expert Publications: 375 Date d'inscription: 10/03/09 Publications récentes
Hello Shikhar Saran Srivastava,

Per Samuel, you can change the version.
what version should i write?

It depends what version your Liferay is. You can find out this information by:
  • Login as Administrative user
  • Go to Control Panel -> Server Admin
  • The Liferay version is listed on there; note that and use appropriate version


Note the Liferay Portal versioning scheme; for example, 6.2 GA5 is versioned as 6.2.4 for Community Edition (CE.)

Provide more details on situation; so we can help you better with this task:
- are you developer or an admin?
- is the portlet one you authored or not? If not, may not be able to just upgrade it; since it may depend on some APIs ; which may have changed in the later version! If you authored it, then you can change it; otherwise, keep in mind plugin upgrade.
thumbnail
Vilmos Papp, modifié il y a 8 années.

RE: .war does not support this version of liferay

Liferay Master Publications: 529 Date d'inscription: 21/10/10 Publications récentes
Can you post the content of liferay-plugin-package.properties file here?
Kushagra Khanna, modifié il y a 8 années.

RE: .war does not support this version of liferay

Junior Member Publications: 45 Date d'inscription: 28/12/14 Publications récentes
Hi,

This error seems to be occur when there is any mismatch between liferay portal version & liferay plugin version, sometimes this error also occur when plugin is not deployed properly, so please check whether the plugin is deployed properly or not, if not then undeploy the plugin & deploy it once again.

Regards,
Kushagra
deveshree zawar, modifié il y a 8 années.

RE: .war does not support this version of liferay

Junior Member Publications: 61 Date d'inscription: 09/02/16 Publications récentes
Hi,

The issue here is with the versioning.
Please make sure you have mentioned the proper version in the liferay-plugin-package.properties file :

You need to add the entry respective to you Liferay version
liferay-versions=<Liferay Version>+
Like : liferay-versions=6.2.10+

Make sure you portal version and the plugin version mentioned here is same.
Please post your liferay-plugin-package.properties file!
Hope this would help!

Thanks,
Deveshree