Forums de discussion

Liferay 7 with Spring Boot issue

Toan Ton, modifié il y a 7 années.

Liferay 7 with Spring Boot issue

New Member Publications: 3 Date d'inscription: 04/04/16 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
How did you create that portlet?
Toan Ton, modifié il y a 7 années.

RE: Liferay 7 with Spring Boot issue

New Member Publications: 3 Date d'inscription: 04/04/16 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 with Spring Boot issue

Junior Member Publications: 37 Date d'inscription: 25/09/16 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 with Spring Boot issue

New Member Publications: 2 Date d'inscription: 28/07/14 Publications récentes
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, modifié il y a 7 années.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Publications: 3089 Date d'inscription: 28/10/08 Publications récentes
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, modifié il y a 6 années.

RE: Liferay 7 with Spring Boot issue

New Member Envoyer: 1 Date d'inscription: 03/03/17 Publications récentes
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, modifié il y a 6 années.

RE: Liferay 7 with Spring Boot issue

New Member Publications: 4 Date d'inscription: 20/10/17 Publications récentes
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