× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi All.

I have a basic Java error question that has been driving me crazy lately
(now that's not hard to do!).  When I run a class, I get the error
NoClassDefFound.  The problem is that I can not determine which class can
not be found.  I tried to run the class using the -verbose flag and I still
can not determine which class can not be found.  Could someone give me some
tips on hoe to decipher the NoClassDefFound exception?  Below is an example
of one I am getting...

Thanks!

Mike

java /com/ShipleyPgpEdi/InDataQueue
java.lang.NoClassDefFoundError

java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/Prote
ctionDomain;)Ljava/lang/Class;+79 (ClassLoader.
java:486)

java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Lj
ava/lang/Class;+196 (URLClassLoader.java:270)
      java/net/URLClassLoader$ClassFinder.run()Ljava/lang/Object;+42
(URLClassLoader.java:572)

java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+16
(URLClassLoader.java:198)

java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+41
(ClassLoader.java:297)

sun/misc/Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Cl
ass;+33 (Launcher.java:286)

java/lang/ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;
+1 (ClassLoader.java:313)
$




================================

Mike Silvers
AS/400 Senior Programmer/Analyst
AS/400 IBM Certified RPG IV Developer
AS/400 IBM Certified Solutions Expert
Hainey Business Systems
8 E. Canal St
Dover, PA 17315
Branch Office:  (410) 397-8739
Phone:  (800) 932-3380
Fax:  (717) 292-9474
Web: http://www.hbs-inc.com
________________________________
Providing E-Commerce, EDI, AS/400
Development and related services
nationwide.
================================




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.