Skip to Main Content

Java Development Tools

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!

java.lang.NoClassDefFoundError at runtime, but OK at compile

413914Sep 6 2005 — edited Sep 8 2005
I am getting a java.lang.NoClassDefFoundError at runtime, referencing a third-party class included in a jar file. The source all compiles OK, so there is no problem finding the class at compile time. I have the library declared as a UserLibrary, and the project is set to use this UserLibrary. In addition, I have set both the source path and class path when defining the library, so I am puzzled as to why there is a problem at runtime.

I addition, I have set the "additional classpath" in the "project properties" dialog to use the correct jar.

Does anyone have any hints as to where to start fixing this??

Many thanks

Steve

JDeveloper ver 9.0.5.2 build 1618
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2005
Added on Sep 6 2005
25 comments
2,922 views