留言板
Deploying JEE Applications on Liferay DXP EE SP3
Rodrigo Hernández,修改在6 年前。
Deploying JEE Applications on Liferay DXP EE SP3
New Member 帖子: 9 加入日期: 17-1-10 最近的帖子
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,修改在6 年前。
RE: Deploying JEE Applications on Liferay DXP EE SP3
Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
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,修改在6 年前。
RE: Deploying JEE Applications on Liferay DXP EE SP3
New Member 帖子: 9 加入日期: 17-1-10 最近的帖子
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,修改在6 年前。
RE: Deploying JEE Applications on Liferay DXP EE SP3
New Member 帖子: 9 加入日期: 17-1-10 最近的帖子
Or is any kind of issue with Spring MVC?
David H Nebinger,修改在6 年前。