Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Later
-
2.17.3
-
None
-
None
-
Windows
-
Unknown
Description
I can not use camel-docker in the OSGi environment, exception is thrown.
java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider org.glass fish.jersey.internal.RuntimeDelegateImpl could not be instantiated: java.lang.Il legalStateException: No generator was provided and there is no default generator registered
If I do the following workaround then it can work
RuntimeDelegate.setInstance(new org.glassfish.jersey.server.internal.RuntimeDelegateImpl())