The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

NoClassDefFoundError(Please help to resolve this problem)

Posted by charath on April 04, 2001 at 2:31 AM

I'm working on a third party charting tool. It contains API'S with which you can program charts. A jar file has been given comprising these API's. Now i have added this jar file to my classpath. While i compile my program using these API's, i don't get any error, but when i run my program using Appletviewer(as the program being an applet), it gives me the error

java.lang.NoClassDefFoundError: quadbase/util/IDatabaseInfo

quadbase is the package which contains the API's. I use a pre-defined class called DbInfo in my program which implements this IDatabaseInfo interface. But both of these class files are present in the package. I have unzipped the jar file and have found the existence of these two classes. But why this problem comes. I'm using VisualCafe IDE which uses JDK 1.2.2. The O.S is Win98. The classpath also shows the added jar file. Please help out to resolve this problem. Thanks in advance.





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us