Search code examples
osgiclassloaderjjwt

Running in Karaf (OSGi) with JJWT version 0.11.1 getting Unable to load class io.jasonwebtoken.impl.crypto.MacProvider


Running in Karaf (OSGi) getting Unable to load class io.jasonwebtoken.impl.crypto.MacProvider

The version of jjwt is 0.11.1

my bundles include jjwt-api (provided) and jjwt-jackson (compile) and I have jjwt-impl running as a bundle.

do I need to create a "mega-bundle" to have this work?


Solution

  • This has been fixed in JJWT 0.11.2. Please upgrade. :)