问题
Is it possible to configure Jersey 2.26.x that it solely depends on Spring for injection instead of HK2? I know Jersey is nowadays compatible with Spring, but is it also possible to get completely rid of HK2?
回答1:
No it isn't. Jersey uses many special features of hk2 (such as good integration with Spring and Guice) in order to function
来源:https://stackoverflow.com/questions/45620576/jersey-2-26-and-spring-4-3-10-but-no-hk2