掲示板

Liferay 7 with Spring Boot issue

7年前 に Toan Ton によって更新されました。

Liferay 7 with Spring Boot issue

New Member 投稿: 3 参加年月日: 16/04/04 最新の投稿
I was integrate Spring Boot in Liferay 7 but It's generate some bugs, here below :








Hope everyone help me !
Thanks in advance
thumbnail
7年前 に Juan Gonzalez によって更新されました。

RE: Liferay 7 with Spring Boot issue

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
How did you create that portlet?
7年前 に Toan Ton によって更新されました。

RE: Liferay 7 with Spring Boot issue

New Member 投稿: 3 参加年月日: 16/04/04 最新の投稿
Hi Juan !
I didn't create portlet, I use portlet default when I was created Liferay Plugin Project.
I want to use Spring Boot in Liferay 7, but now I encounter a issue, here below :


You can try Liferay 7 + Spring Boot.
Thanks
thumbnail
7年前 に Mohammed Rawoof Shaik によって更新されました。

RE: Liferay 7 with Spring Boot issue

Junior Member 投稿: 37 参加年月日: 16/09/25 最新の投稿
Hi Toan,

When you're trying to use Spring Boot, OOTB, it deploys to Servlet 3.0+ container. See,
http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#_servlet_containers

And from what I can tell from your stacktrace is that the OSGI bundle's deployer is not happy with that. You may want to try deploying this to a Servlet 2.5 container and see how it behaves. You can do that by following this link,
http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-servlet-2-5

Let me know how it goes.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

RE: Liferay 7 with Spring Boot issue

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Hi guys.

FYI, please watch this ticket: https://issues.liferay.com/browse/LPS-69270.

Will try to fix it as soon as possible.

Thanks very much for your testing.
thumbnail
7年前 に Juan Gonzalez によって更新されました。

RE: Liferay 7 with Spring Boot issue

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Toan Ton:
Hi Juan !
I didn't create portlet, I use portlet default when I was created Liferay Plugin Project.
I want to use Spring Boot in Liferay 7, but now I encounter a issue, here below :


You can try Liferay 7 + Spring Boot.
Thanks

Hi Toan.

This should be fixed now in current master branch for Liferay 7.

Please, just write here if you have any problem when deploying your Spring Boot portlet.

Thanks for reporting this!
thumbnail
7年前 に Tomasz Czerwonka によって更新されました。

RE: Liferay 7 with Spring Boot issue

New Member 投稿: 2 参加年月日: 14/07/28 最新の投稿
Hi,
When this fix bug will be available in CE, because as far as I understand it is available only in EE version?
Is there a way to install patch for Liferay CE?
thumbnail
7年前 に Juan Gonzalez によって更新されました。

RE: Liferay 7 with Spring Boot issue

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Tomasz Czerwonka:
Hi,
When this fix bug will be available in CE, because as far as I understand it is available only in EE version?
Is there a way to install patch for Liferay CE?


It will be available in next GA (7 GA4) that should be released soon.

You have the needed changes here just in case you want to patch your sources: https://github.com/brianchandotcom/liferay-portal/pull/45482/files.
thumbnail
6年前 に Alan Barboza によって更新されました。

RE: Liferay 7 with Spring Boot issue

New Member 投稿: 1 参加年月日: 17/03/03 最新の投稿
Juan Gonzalez:
Tomasz Czerwonka:
Hi,
When this fix bug will be available in CE, because as far as I understand it is available only in EE version?
Is there a way to install patch for Liferay CE?


It will be available in next GA (7 GA4) that should be released soon.

You have the needed changes here just in case you want to patch your sources: https://github.com/brianchandotcom/liferay-portal/pull/45482/files.



Hello Juan,

Any idea about the release date of GA4 for Liferay EE 7?

Kind regards,
6年前 に Rishik Bahri によって更新されました。

RE: Liferay 7 with Spring Boot issue

New Member 投稿: 4 参加年月日: 17/10/20 最新の投稿
Hi,
Was anyone able to run a spring boot portlet in liferay 7? If yes then an example on how to do it would be great emoticon