Open jerseyrobot opened 7 years ago
@glassfishrobot Commented Reported by igorbunova
@glassfishrobot Commented igorbunova said: here is my code project https://github.com/igorbunova/jersey2-guice-integration
I tried these combinations of versions
| jersey | guice | hk2 | hk2-guice | result | | 2.25.1 | 4.0 | 2.4.0 | 2.4.0 | Starts, works with warning | | 2.25.1 | 4.0 | 2.3.0 | 2.3.0 | Starts, works with warning | | 2.25.1 | 4.0 | 2.2.0 | 2.2.0 | Doesn't start | | 2.7 | 4.0 | 2.2.0 | 2.2.0 | Starts, doesn't work |
@glassfishrobot Commented @jwells131313 said: This seems like an issue with the JerseyClassAnalyzer
@glassfishrobot Commented This issue was imported from java.net JIRA JERSEY-3266
@vnagarajan-liaison-com Commented Any updates on this? I see the same issue with version 2.25.1 and 2.7
@vnagarajan-liaison-com Commented Any workaround to get rid of this issue?
@doyouevensunbro Commented Would love to know the issue and/or workaround.
@airdrik Commented I ran into this issue as well. Jersey 2.23, Guice 4.1.0, HK2 & Guice-bridge 2.4.0
I tried replacing guice's Inject with javax.inject.Inject throughout my app and the HK2 warnings went away.
@blling Commented Should anyone help out #3692 ? It will solve this problem.
@doyouevensunbro Commented @blling I'm not using Guice and I had this problem. What it turned out to be was that if HK2 has any issues at all it will just throw this error. For me I had an issue with my custom ExceptionMapper Provider. Fixed that and the error went away.
Hope this helps.
any updates for this bug, is it fixed now or not? thanks
jersey hk2 guice integration results this warning in logs
Affected Versions
[2.26-b03]