Hi - I have been trying out the PDF functions with iText. I could not locate the the iTextPDF v2.1.2u as stated in your book but I did download the latest V5.0.2. I was able to get the 1st 2 example programs AIR10_01 & AIR10_02 to work. I had to change the URLs in the JAVA procedures to change the name from LOWAGIE to ITEXTPDF. I also had to change to JDK 1.5.0. I am getting the following error on AIR11_01 on the FONT function. I am at a lost as to how to find this :
Message ID . . . . . . : RNX0301 Severity . . . . . . . : 50
Message type . . . . . : Escape
Date sent . . . . . . : 06/07/10 Time sent . . . . . . : 12:15:22
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure AIR11_02 in program AIRLIB/AIR11_02 received
Java exception "java.lang.NoSuchMethodError:" when calling method
"" with signature "(IFI)V" in class "com.itextpdf.text.Font".
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
Technical description . . . . . . . . : If the exception indicates that the
Java class was not found, ensure the class for the method is in the class
path. If the exception indicates that the Java method was not found, check
the method name and signature. If the signature is not correct, change the
RPG prototype for the method, or change the Java method, so that the return
type and parameter types match. You can determine the signatures for all the
More...
How can I check for the methods within a class? Any ideas on this error?
Many thanks,
Pat Barrett
Message ID . . . . . . : RNX0301 Severity . . . . . . . : 50
Message type . . . . . : Escape
Date sent . . . . . . : 06/07/10 Time sent . . . . . . : 12:15:22
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure AIR11_02 in program AIRLIB/AIR11_02 received
Java exception "java.lang.NoSuchMethodError:
"
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
Technical description . . . . . . . . : If the exception indicates that the
Java class was not found, ensure the class for the method is in the class
path. If the exception indicates that the Java method was not found, check
the method name and signature. If the signature is not correct, change the
RPG prototype for the method, or change the Java method, so that the return
type and parameter types match. You can determine the signatures for all the
More...
How can I check for the methods within a class? Any ideas on this error?
Many thanks,
Pat Barrett
Comment