I\'m getting started with Spring DI, but I\'m struggling with dependency injection and the worse part is that I\'m not even sure why as it seems ok to me. Hopefully you guys
Another possible option is to manually invoke autowiring in your jersey resource:
@Context private ServletContext servletContext; @PostConstruct public void init() { SpringBeanAutowiringSupport.processInjectionBasedOnServletContext(this, servletContext); }
Hmm, you get a "manual autowiring"...