Fórum

Liferay 7 with Spring Boot issue

Toan Ton, modificado 7 Anos atrás.

Liferay 7 with Spring Boot issue

New Member Postagens: 3 Data de Entrada: 04/04/16 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
How did you create that portlet?
Toan Ton, modificado 7 Anos atrás.

RE: Liferay 7 with Spring Boot issue

New Member Postagens: 3 Data de Entrada: 04/04/16 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay 7 with Spring Boot issue

Junior Member Postagens: 37 Data de Entrada: 25/09/16 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay 7 with Spring Boot issue

New Member Postagens: 2 Data de Entrada: 28/07/14 Postagens Recentes
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, modificado 7 Anos atrás.

RE: Liferay 7 with Spring Boot issue

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
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, modificado 6 Anos atrás.

RE: Liferay 7 with Spring Boot issue

New Member Mensagem: 1 Data de Entrada: 03/03/17 Postagens Recentes
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, modificado 6 Anos atrás.

RE: Liferay 7 with Spring Boot issue

New Member Postagens: 4 Data de Entrada: 20/10/17 Postagens Recentes
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