eclipse-ee4j / eclipse-ee4j/jersey

java.lang.ClassCastException: Cannot cast org.glassfish.jersey.inject.hk2.Hk2InjectionManagerFactory to org.glassfish.jersey.internal.inject.InjectionManagerFactory

Open
#5,421 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.