-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Later
-
Affects Version/s: 2.17.3
-
Fix Version/s: None
-
Component/s: camel-docker
-
Labels:None
-
Environment:
Windows
-
Estimated Complexity:Unknown
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())