Quoting Benjamin Theodore Tripp <[EMAIL PROTECTED]>:

> I'm new to itext, so I followed the tutorial/examples fairly closely.
> 
> What happens is that my program compiles with no errors. If I run it in the
> Eclipse IDE, everything works fine and there are no exceptions.
> 
> If I try and run it using the commmand line, I get an error that says
> "NoClassDefFoundError" when my program calls the Document constructor.

You are using a class that uses a class that isn't in the jar.

Since your code works fine in Eclipse, Eclipse has the Class
somewhere in its classpath. Change the classpath environment
variable of your OS so that it contains all the jars and classes
mentioned in your Eclipse project.

br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to