The jar was compiled with jdk 1.4 and you are using a lower version.
Download a new jar from http://itext.sourceforge.net/downloads/ or compile
it yourself. The jar is smaller because the asian support was moved to
another jar.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Philippe Olagnon [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 15, 2002 15:47
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] PdfWriter.getInstance exception
> 
> 
> Hello
> 
> I use iText 0.93b and everything works fine ...
> 
> But I've downloaded version 0.95 and I get an error message when I use 
> the function PdfWriter.getInstance :
> 
> java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError
>       at com.lowagie.text.pdf.PdfDate.<init>(Unknown Source)
>       at com.lowagie.text.pdf.PdfDate.<init>(Unknown Source)
>       at com.lowagie.text.pdf.PdfDocument$PdfInfo.addCreationDate(Unknown 
> Source)
>       at com.lowagie.text.pdf.PdfDocument$PdfInfo.<init>(Unknown Source)
>       at com.lowagie.text.pdf.PdfDocument.<init>(Unknown Source)
>       at com.lowagie.text.pdf.PdfWriter.getInstance(Unknown Source)
>       at PVPdfReport.print(PVPdfReport.java:376)
>       [...]
> 
> I also noticed that the jar file of version 0.95 is about 300k less big 
> than version 0.93b.
> Is it normal ?....
> 
> Have you an idea for my problem ?
> Thanks in advance for your answer.
> 
> Philippe Olagnon
> E-Mail : [EMAIL PROTECTED]
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing 
> your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to