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:

Posted by jaga on April 21, 2001 at 12:04 PM

hai,

i am also receiving the same problem when i using the java jmf api. my program working well when the client machine has
the jmf.if uninstall the jmf and set the jmf.jar into the classpath it will compile .when run the program it gives
the same error what u are getting.

if u know the solution ,send it to me .


>
> The java launcher couldn't locate the xxxClient.class. So verify that U complied xxxClient.java. OR The Program couldn't locate the a class it needed in the lib/j2ee.jar file. check out J2EE_HOME environment variable.

>
> > 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