4

I am developing my app, using Spring v3. Now I have included another module (using Maven), which, in turn, depends on Spring v4. While my app and this module work perfectly fine, when booted separately, cooperation just fails.

Is it possible to combine my app with this module somehow, resulting in two different version of Spring bundled into resulting app?

Denis Kulagin
  • 8,472
  • 17
  • 60
  • 129

1 Answers1

1

OSGi is one alternative to isolate you classloader and allow use different versions of the same library in one application. You can start learning it on this article.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Wellington Souza
  • 2,200
  • 2
  • 22
  • 33