留言板

Liferay 7 with Spring Boot issue

Toan Ton,修改在7 年前。

Liferay 7 with Spring Boot issue

New Member 帖子: 3 加入日期: 16-4-4 最近的帖子
I was integrate Spring Boot in Liferay 7 but It's generate some bugs, here below :








Hope everyone help me !
Thanks in advance
thumbnail
Juan Gonzalez,修改在7 年前。

RE: Liferay 7 with Spring Boot issue

Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
How did you create that portlet?
Toan Ton,修改在7 年前。

RE: Liferay 7 with Spring Boot issue

New Member 帖子: 3 加入日期: 16-4-4 最近的帖子
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
Mohammed Rawoof Shaik,修改在7 年前。

RE: Liferay 7 with Spring Boot issue

Junior Member 帖子: 37 加入日期: 16-9-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
Juan Gonzalez,修改在7 年前。

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
Juan Gonzalez,修改在7 年前。

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
Tomasz Czerwonka,修改在7 年前。

RE: Liferay 7 with Spring Boot issue

New Member 帖子: 2 加入日期: 14-7-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
Juan Gonzalez,修改在7 年前。

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
Alan Barboza,修改在6 年前。

RE: Liferay 7 with Spring Boot issue

New Member 发布: 1 加入日期: 17-3-3 最近的帖子
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,
Rishik Bahri,修改在6 年前。

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