eclipse-ee4j / eclipse-ee4j/jersey
java.lang.ClassCastException: Cannot cast org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory to org.glassfish.jersey.internal.inject.InjectionManagerFactory
Open
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
I upgraded jersey-2.251. to jersey-2.40, And I am getting this Runtime Error when starting the Tomcat Server.
Contributor guide
Research direction
Begin by reproducing the startup failure after upgrading Jersey from 2.251 to 2.40 in Tomcat, then inspect the reported cast between Hk2InjectionManagerFactory and InjectionManagerFactory. Done means identifying the compatibility or configuration problem and confirming that the Tomcat server starts without this Runtime Error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100