Hi,
when i compile the itext samples Chap0611.java in jdk1.3.1 , it feedback as following :
 
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 jb_itext.Chap0611.main(Chap0611.java:29)
Exception in thread "main"
 
In the main method of the Chap0611.java , line 29 is :
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("Chap0611.pdf"));
There is no error ,
what cause this problem ?
 
Thanks !
Regards,
Dou Qinghua
 

Reply via email to