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



I'm trying to use iText to create a PDF document. I'm getting a
NoClassDefFoundError error - how can I find the name of the class I'm
not defining in my exception trace? btw, it compiles with no errors
using the same classpath. Trace shown below...

TIA...

> java  -classpath /OpenSource/itext/itext-1.2.jar:/michael HelloWorld        
 java.lang.NoClassDefFoundError                                        
         at java.lang.Throwable.<init>(Throwable.java:180)            
         at java.lang.Error.<init>(Error.java:37)                      
         at
java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:30 )   
                                                                
         at java.lang.ClassLoader.defineClass(ClassLoader.java:547)    
         at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
                                                                 
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:312)
     
         at java.net.URLClassLoader.access$300(URLClassLoader.java:85)
         at
java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:636)  
         at java.net.URLClassLoader.findClass(URLClassLoader.java:221)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)      
         at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)    
         at java.lang.ClassLoader.loadClass(ClassLoader.java:245)      
         at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:312)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.