Figured out this particular error. It was an old version of Jersey-bundle
that was being pulled in via a different dependency.
After this we get a different error, we have a @Provider that is also a
Spring @Service and HK2 does not like the @Inject instance in it...
Is there any way to get HK2 to play nicely with Spring at all?
```
Caused by: A MultiException has 1 exceptions. They are:
1. org.glassfish.hk2.api.UnsatisfiedDependencyException: There was no
object available for injection at
SystemInjecteeImpl(requiredType=IAuthenticationManager,parent=BasicAuthFilter,qualifiers={},position=-1,optional=false,self=false,unqualified=null,1360209172)
at
org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:75)
at org.jvnet.hk2.internal.Utilities.justInject(Utilities.java:941)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.inject(ServiceLocatorImpl.java:980)
at
org.jvnet.hk2.internal.ServiceLocatorImpl.inject(ServiceLocatorImpl.java:970)
at
org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:617)
at
org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184)
at
org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350)
at
org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at
org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255)
at
org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:347)
at
org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
at
org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
at
org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
at javax.servlet.GenericServlet.init(GenericServlet.java:161)
at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:640)
... 41 more
Caused by: org.glassfish.hk2.api.UnsatisfiedDependencyException: There was
no object available for injection at
SystemInjecteeImpl(requiredType=IAuthenticationManager,parent=BasicAuthFilter,qualifiers={},position=-1,optional=false,self=false,unqualified=null,1360209172)
```
--
You received this message because you are subscribed to the Google Groups
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.