Fórum
Deploying JEE Applications on Liferay DXP EE SP3
Rodrigo Hernández, modificado 6 Anos atrás.
Deploying JEE Applications on Liferay DXP EE SP3
New Member Postagens: 9 Data de Entrada: 10/01/17 Postagens Recentes
Hi.
I'm currently migrating a Spring MVC Portlet from LR 6.2 to LR DXP EE SP3.
For that, after I generate the .war file, I install it in the deploy folder and check the gogo shell. Later, I find that the portlet is with the installed status. When I try to start it, the console launch the following error messages:
First:
org.osgi.framework.BundleException: Could not resolve module: [my module's name]
Later...
For each package that my external libraries have (those libraries are in my WEB-INF/lib folder)...
Unresolved requirement: Import-Package: [Name of package]
And finally...
Unresolved requirement: Require-Capability: osgi.extender; filter:="(&(osgi.extender=jsp.taglib)(uri=http://www.springframework.org/tags))"
The strange part is I installed the same portlet in LR DXP EE SP1 and it worked fine. So, ¿Is any extra configuration that I'm missing? ¿Is it a bug on SP3?
Thanks for your time.
I'm currently migrating a Spring MVC Portlet from LR 6.2 to LR DXP EE SP3.
For that, after I generate the .war file, I install it in the deploy folder and check the gogo shell. Later, I find that the portlet is with the installed status. When I try to start it, the console launch the following error messages:
First:
org.osgi.framework.BundleException: Could not resolve module: [my module's name]
Later...
For each package that my external libraries have (those libraries are in my WEB-INF/lib folder)...
Unresolved requirement: Import-Package: [Name of package]
And finally...
Unresolved requirement: Require-Capability: osgi.extender; filter:="(&(osgi.extender=jsp.taglib)(uri=http://www.springframework.org/tags))"
The strange part is I installed the same portlet in LR DXP EE SP1 and it worked fine. So, ¿Is any extra configuration that I'm missing? ¿Is it a bug on SP3?
Thanks for your time.
David H Nebinger, modificado 6 Anos atrás.
RE: Deploying JEE Applications on Liferay DXP EE SP3
Liferay Legend Postagens: 14917 Data de Entrada: 02/09/06 Postagens Recentes
There was a change introduced at some point that ignored portal-dependency-jars from liferay-plugin-package.properties during deployment; instead, all jars must actually be in WEB-INF/lib completely.
You'll want to add a property to your portal-ext.properties file to keep the generated WABs around so you can peel them open to see what they contain:
Come meet me at the 2017 LSNA!
You'll want to add a property to your portal-ext.properties file to keep the generated WABs around so you can peel them open to see what they contain:
module.framework.web.generator.generated.wabs.store=true
Come meet me at the 2017 LSNA!
Rodrigo Hernández, modificado 6 Anos atrás.
RE: Deploying JEE Applications on Liferay DXP EE SP3
New Member Postagens: 9 Data de Entrada: 10/01/17 Postagens Recentes
David.
Besides add that property, is anything else that I have to do? The error persists.
Besides add that property, is anything else that I have to do? The error persists.
Rodrigo Hernández, modificado 6 Anos atrás.
RE: Deploying JEE Applications on Liferay DXP EE SP3
New Member Postagens: 9 Data de Entrada: 10/01/17 Postagens Recentes
Or is any kind of issue with Spring MVC?
David H Nebinger, modificado 6 Anos atrás.