Jersey 2.26 and Spring 4.3.10 but no HK2

隐身守侯 提交于 2019-12-04 05:58:36

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!