Aug 19 2009

What jar file does a Java class belong to?

Published by michael at 10:18 am under Java

I found this very useful web site that allows you to search what JAR file a specific Java class belongs to. This has proven quite useful to me over the last couple of days when I had to deal with NoClassDefFoundError and ClassNotFoundException problems.

You can just enter the name of the class or JAR file your looking for and the site will display the result.

http://www.findjar.com/index.jsp

Share and Enjoy:
  • Print
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Technorati
  • Twitter

Related posts:

  1. JUnit 4 error: reference to assertEquals is ambiguous This is a somewhat confusing compilation failure that sometimes happen...

One response so far

One Response to “What jar file does a Java class belong to?”

  1. Edon 12 Nov 2009 at 9:44 pm

    If you’re developing with maven and need to find classes (currently 8 million of them) in the central repository, the maven repository search engine at http://www.jarvana.com can be very useful, since it provides the dependency information for the class/artifact that you’re looking for.

Trackback URI | Comments RSS

Leave a Reply