Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find what jar contains a class?

807569Sep 5 2006 — edited Sep 5 2006
Hi,

I've often wondered if there's a quick way to find out what jar I need to add to a project, for example when I get a NoClassDefFoundError...

Particularly when deploying projects to app servers, I sometimes get a NoClassDefFoundError and have to look at the package structure of the missing class to try and guess which jar file is required. You can just google for the API docs, but these do not give any indication of known jar files that contain the class...

Thanks in advance

Nick
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2006
Added on Sep 5 2006
2 comments
391 views