I think that this has something to do with the jdk 1.3 compiling the code in
compatibility mode (compatibility with older versions) by default and in jdk
1.4 the default is "compatible with jdk 1.4 only".

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 15:26
> To:   Hotmail
> Cc:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Re: Error while executing your Sample
> program
> 
> I have to apologize for my answer to the question below.
> I compiled release 0.84 with J2SDK1.4 and everything works
> fine as long as you use version 1.4 of the JDK,
> but I have just reproduced the error below with J2SDK1.3. 
> 
> Is this a known issue at SUN that code compiled with J2SDK1.4
> doesn't work when used with the J2SDK1.3 ??? 
> 
> Hotmail writes: 
> 
> > Hi 
> > 
> > while i am executing your sample example  Chap0101.java of generating
> pdf file in java program , it is giving following
> > run time error 
> > --
> > 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 Chap0101.main(Chap0101.java:47)
> > Exception in thread "main"    
> >    PdfWriter.getInstance(document, new
> FileOutputStream("Chap0101.pdf"));
> > -- 
> > 
> > please give me respose for it after rectifing it
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to