How to find class belongs to which JAR in Eclipse

Find class belongs to which JAR in Eclipse

In this tutorial, We will show you about How to find class belongs to which jar in Eclipse IDE. The given scenario has been discussed step by step in this post.

What we have to do?

In order to find class belongs to which Jar in eclipse, We have to do the following steps in the eclipse.

Step 1: Open the Open Type window. We can able to open it either by using short cut key ( Shift + Ctrl + T ) or Go to Navigate Menu -> and press the Open Type. Once you done this it will show you the below dialogue window in eclipse.

find class belongs to which JAR in Eclipse

Step 2: Enter the name of the class in the text box (ie: DispatcherServlet) that you wants to find belongs to which JAR file in the project. Once you typed the name of the class, The Open Type window will show the exact location of the class in the right bottom of the window. The below image will give you the idea about it.

How to find class belongs to which JAR in Eclipse

References

1. Eclipse IDE Official Site