Valence version 6.1.20220706
Tried to call EXPDF04 from an app.
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure VVPDF_ADDH in program SPACESAND/VVSRVPGM
received Java exception "java.lang.NoClassDefFoundError:
com.lowagie.text.cnx.AddHTMLToPDF" when calling method "<init>" with
signature "()V" in class "com.lowagie.text.cnx.AddHTMLToPDF".
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
methods in class XYZ using command QSH CMD('javap -s XYZ').
Current classpath:
.
:[ROOT_PATH]java/iText-2.1.7.jar
:[ROOT_PATH]java/documenttype.jar
:[ROOT_PATH]java/javax.mail.jar
:[ROOT_PATH]java/MessageType.jar
:[ROOT_PATH]java/remotedb/vvJavaRemote.jar
:[ROOT_PATH]java/remotedb/mysql-connector-java-8.0.26.jar
:[ROOT_PATH]java/remotedb/jtds-1.2.5.jar
:[ROOT_PATH]java/remotedb/sqljdbc41.jar
:[ROOT_PATH]java/remotedb/jt400.jar
:[ROOT_PATH]java/remotedb/json.jar
:[ROOT_PATH]java/remotedb
:[ROOT_PATH]java/tls_email_17.jar
:[ROOT_PATH]java/remotedb/commons-codec-1.10.jar
:[ROOT_PATH]java/remotedb/commons-collections4-4.1.jar
:[ROOT_PATH]java/remotedb/commons-compress-1.18.jar
:[ROOT_PATH]java/remotedb/commons-logging-1.2.jar
:[ROOT_PATH]java/remotedb/commons-math3-3.6.1.jar
:[ROOT_PATH]java/remotedb/curvesapi-1.04.jar
:[ROOT_PATH]java/remotedb/opencsvsrc.jar
:[ROOT_PATH]java/remotedb/poi-3.16.jar
:[ROOT_PATH]java/remotedb/poi-excelant-3.16.jar
:[ROOT_PATH]java/remotedb/poi-ooxml-3.16.jar
:[ROOT_PATH]java/remotedb/poi-ooxml-schemas-3.16.jar
:[ROOT_PATH]java/remotedb/poi-scratchpad-3.16.jar
:[ROOT_PATH]java/remotedb/xmlbeans-2.6.0.jar
:[ROOT_PATH]java/remotedb/ojdbc7.jar
Not sure what I might need to add to the classpath.
Tried to call EXPDF04 from an app.
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure VVPDF_ADDH in program SPACESAND/VVSRVPGM
received Java exception "java.lang.NoClassDefFoundError:
com.lowagie.text.cnx.AddHTMLToPDF" when calling method "<init>" with
signature "()V" in class "com.lowagie.text.cnx.AddHTMLToPDF".
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
methods in class XYZ using command QSH CMD('javap -s XYZ').
Current classpath:
.
:[ROOT_PATH]java/iText-2.1.7.jar
:[ROOT_PATH]java/documenttype.jar
:[ROOT_PATH]java/javax.mail.jar
:[ROOT_PATH]java/MessageType.jar
:[ROOT_PATH]java/remotedb/vvJavaRemote.jar
:[ROOT_PATH]java/remotedb/mysql-connector-java-8.0.26.jar
:[ROOT_PATH]java/remotedb/jtds-1.2.5.jar
:[ROOT_PATH]java/remotedb/sqljdbc41.jar
:[ROOT_PATH]java/remotedb/jt400.jar
:[ROOT_PATH]java/remotedb/json.jar
:[ROOT_PATH]java/remotedb
:[ROOT_PATH]java/tls_email_17.jar
:[ROOT_PATH]java/remotedb/commons-codec-1.10.jar
:[ROOT_PATH]java/remotedb/commons-collections4-4.1.jar
:[ROOT_PATH]java/remotedb/commons-compress-1.18.jar
:[ROOT_PATH]java/remotedb/commons-logging-1.2.jar
:[ROOT_PATH]java/remotedb/commons-math3-3.6.1.jar
:[ROOT_PATH]java/remotedb/curvesapi-1.04.jar
:[ROOT_PATH]java/remotedb/opencsvsrc.jar
:[ROOT_PATH]java/remotedb/poi-3.16.jar
:[ROOT_PATH]java/remotedb/poi-excelant-3.16.jar
:[ROOT_PATH]java/remotedb/poi-ooxml-3.16.jar
:[ROOT_PATH]java/remotedb/poi-ooxml-schemas-3.16.jar
:[ROOT_PATH]java/remotedb/poi-scratchpad-3.16.jar
:[ROOT_PATH]java/remotedb/xmlbeans-2.6.0.jar
:[ROOT_PATH]java/remotedb/ojdbc7.jar
Not sure what I might need to add to the classpath.

Comment