Dear all,
..now i put the itext jar and the 1.3 mail and prov jar in the path and the
lib/ext dir of my sdk.
it compiles well; so everything is found but i get:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/lowagie/text/Element
at runtime.
whats happening here please? any ideas?
its jsut a simple pdf converter like:
import java.io.*;
import com.lowagie.text.*;
import com.lowagie.text.pdf.*;
import com.lowagie.*; // anything well imported ??
// then do stuff like
PdfWriter writer = PdfWriter.getInstance(doc, new
FileOutputStream("first.pdf"));
doc.open();
doc.add(new Paragraph("Go for it", f));
doc.add(Image.getInstance(img));
doc.close();
doc = new Document(PageSize.A4);
writer = PdfWriter.getInstance(doc, new FileOutputStream("second.pdf"));
doc.open();
// ...
thank you.
cheers
mac
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/