Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Dipak Jadhav
.war does not support this version of Liferay
2 de Abril de 2013 04:56
Resposta

Dipak Jadhav

Ranking: New Member

Mensagens: 9

Data de entrada: 2 de Abril de 2013

Mensagens recentes

Hi,
I have created the portlet on my community edition. I have created a .war file for that portlet from Eclipse using "Export" functionality.
I want to deploy this .war file on Liferay Enterprise Edition. I have 30 day's trial version. I am getting ".war does not support this version of Liferay " .

Could you please tell me how to resolve this?

Thanks,
Dipak
David H Nebinger
RE: .war does not support this version of Liferay
2 de Abril de 2013 05:25
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 11056

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

1) You should use the SDK for the environment you're targeting, in this case you'd use the EE SDK.
2) The liferay-plugin-package.properties file defines the version the plugin is for, so you probably have it set for the CE version and not the EE version.
Pradeep Sharma
RE: .war does not support this version of Liferay
2 de Abril de 2013 06:38
Resposta

Pradeep Sharma

Ranking: Junior Member

Mensagens: 49

Data de entrada: 6 de Setembro de 2011

Mensagens recentes

Deepak, David gave you the best answer. Try to modify your liferay-plugin-package.properties file with this set

name=Your Portlet Name
module-group-id=liferay-ee
module-incremental-version=1
tags=
short-description=
change-log=
page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=EE
liferay-versions=6.1.20

Also you can try: Copy your docroot folder of CE Edition and create a new project in EE with the same name and delete the docroot of EE workspace and paste the CE edition docroot to the new EE edition portlet project. Now create the war. Try it. it will for sure works. Enjoy !
Manish Yadav
RE: .war does not support this version of Liferay
3 de Abril de 2013 11:54
Resposta

Manish Yadav

Ranking: Expert

Mensagens: 449

Data de entrada: 26 de Maio de 2012

Mensagens recentes

Hi Deepak, you can also modify build.properties in plugin folder
change lp.version property value to
lp.version=6.1.20

after changing value create one more time war file
Dipak Jadhav
RE: .war does not support this version of Liferay
18 de Abril de 2013 22:55
Resposta

Dipak Jadhav

Ranking: New Member

Mensagens: 9

Data de entrada: 2 de Abril de 2013

Mensagens recentes

Thanks Pradeep. It is working.