• Register
0 votes

Problem :

I am getting below error while running my Jersey API in Tomcat 8.5.11
java.lang.illegalstateexception: injectionmanagerfactory not found.
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I had faced this issue before and i followed bellow approch to fix it

Please use the bellow dependencies:

1. Maven



2. Gradle

compile 'org.glassfish.jersey.core:jersey-common:2.26'
compile 'org.glassfish.jersey.inject:jersey-hk2:2.26'

Further Readings :


9 7 4
38,600 points

Related questions

0 votes
1 answer 25 views
Problem: why this happened to me ? any help ! java.lang.illegalstateexception: injectionmanagerfactory not found..
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 182 views
Problem : I am new to Servlet programing, while running my Servlet code i am getting bellow error error 500 javax servlet servletexception java lang illegalstateexception
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 670 views
Problem : Using new android studio with new 3.0.0 Gradle pluging. When building some warning occurred as follows: registerResGeneratingTask is deprecated, useregisterGeneratedFolders(FileCollection)
asked Nov 30, 2019 alecxe 7.5k points
1 vote
1 answer 5 views
Problem: I am getting an error which is given bwlow please help me: Could not publish to the server. java.lang.nullpointerexception.
asked May 1 PkGuy 23.5k points
0 votes
1 answer 44 views
Problem: could not publish to the server. java.lang.indexoutofboundsexception
asked Feb 12 Sabbir Hossain 14.6k points
0 votes
2 answers 419 views
Problem : I am getting bellow memory error java.lang.outofmemoryerror requested array size exceeds vm limit
asked Nov 5, 2019 peterlaw 6.9k points
0 votes
1 answer 9 views
Problem: I have setup MCP with IntelliJ IDEA but I have an issue, whenever I try to launch the game, I would have to keep trying until it works, I don't know if this will help but whenever it says Task :Compiling Java, Task : ... (ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 1 more
asked Apr 26 anika11 32.2k points
0 votes
1 answer 6 views
Problem: I am following a tutorial on forge and the tutorial is from forge 1.10, I am coding in the 1.12 version but ran into an error. Error: Caused by: java.lang.NullPointerException: Can't use a null-name for the registry, object net.minecraft. ... .getItemModelMesher().register(item, 0, new ModelResourceLocation(FirstMod.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } }
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 7 views
Problem: when I am trying to set up a reference to it an error shows up :'The type or namespace name 'ES' could not be found (are you missing a using directive or an assembly reference?'
asked Mar 16 ummesalma 29.2k points
0 votes
1 answer 228 views
Problem : When I installed the final certificate I got the following error: keytool error: java.lang.Exception: Failed to establish chain from reply
asked Oct 23, 2019 peterlaw 6.9k points