Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo and Spring Boot(Is there a possibility to run Spring Boot application on Virgo Tomcat server?)
Virgo and Spring Boot [message #1781962] Thu, 15 February 2018 10:48 Go to next message
Vakhtang Laluashvili is currently offline Vakhtang LaluashviliFriend
Messages: 1
Registered: February 2018
Junior Member
Hi guys, I've been trying to post my Spring Boot application to spring version 4.3.9.RELEASE to run it on Virgo Tomcat server and use OSGI services and BundleContext object. In simple application the configuration seems easy but when I try to add more dependencies I end up using the bundles which don't exist: for example the Thymeleaf bundle and Thymeleaf spring 4 bundles are not there. I tried turning them into bundles but I received ClassNotFound error even though the class was there.

Anyway, are there some latest examples using Spring with Virgo or Spring Boot?

I really need help on this one :(
Re: Virgo and Spring Boot [message #1782276 is a reply to message #1781962] Wed, 21 February 2018 08:23 Go to previous message
Florian Waibel is currently offline Florian WaibelFriend
Messages: 160
Registered: June 2010
Senior Member
Hi Vakhtang,

we've got some Spring Boot samples adapted to Virgo in the recipes section of our Samples[1]. (The sample source can be found in [2].)

The Virgo recipe for 'Serving Web Content with Spring MVC' especially covers your Thymeleaf topic.

Regards,
florian

Please note: To run those samples I also had to modify the Thymeleaf source and created my own bundles from branch `virgo` and the forked repositories [3] and [4].

[1] - https://www.eclipse.org/virgo/samples/
[2] - git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.samples.git
[3] - https://github.com/fwaibel/thymeleaf/tree/virgo
[4] - https://github.com/fwaibel/thymeleaf-spring/tree/virgo/thymeleaf-spring4
Previous Topic:Is Java 9 support sun.misc.ServiceConfigurationError?
Next Topic:Resolver reported uses conflict for import constrained to bundle
Goto Forum:
  


Current Time: Tue Nov 20 00:01:12 GMT 2018

Powered by FUDForum. Page generated in 0.02247 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top