掲示板

Deploying JEE Applications on Liferay DXP EE SP3

6年前 に Rodrigo Hernández によって更新されました。

Deploying JEE Applications on Liferay DXP EE SP3

New Member 投稿: 9 参加年月日: 17/01/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.
thumbnail
6年前 に David H Nebinger によって更新されました。

RE: Deploying JEE Applications on Liferay DXP EE SP3

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
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:

module.framework.web.generator.generated.wabs.store=true









Come meet me at the 2017 LSNA!
6年前 に Rodrigo Hernández によって更新されました。

RE: Deploying JEE Applications on Liferay DXP EE SP3

New Member 投稿: 9 参加年月日: 17/01/10 最新の投稿
David.

Besides add that property, is anything else that I have to do? The error persists.
6年前 に Rodrigo Hernández によって更新されました。

RE: Deploying JEE Applications on Liferay DXP EE SP3

New Member 投稿: 9 参加年月日: 17/01/10 最新の投稿
Or is any kind of issue with Spring MVC?
thumbnail
6年前 に David H Nebinger によって更新されました。

RE: Deploying JEE Applications on Liferay DXP EE SP3

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
Spring MVC portlet wars work, I have a blog post featuring one.








Come meet me at the 2017 LSNA!