Hi,
I am trying to call a Java Main method from my RPGLE program by using prototyping. But I am getting the following error.
Message . . . . : Parameter 1 received a Java exception on conversion to a
Java array (C G D F).
Cause . . . . . : RPG procedure APPJAVALE in program SPLIB/APPJAVALE
received Java exception java.lang.NoClassDefFoundError:
com/app/mad/digitalphotocard/actions/StartApplication when converting an
RPG parameter to a Java array. The error occurred for parameter number 1
for the call to Java method "main" in class
"com.app.mad.digitalphotocard.actions.StartApplica tion".
Any pointers to the cause and recovery of this error would be very helpful.
I think the cause of the problem is that the java main method:
public static void main(String[] args) is not being prototyped and called correctly in the RPGLE program. But I am not able to figure out the correct way. Please help.
Thanks,
Subha.
I am trying to call a Java Main method from my RPGLE program by using prototyping. But I am getting the following error.
Message . . . . : Parameter 1 received a Java exception on conversion to a
Java array (C G D F).
Cause . . . . . : RPG procedure APPJAVALE in program SPLIB/APPJAVALE
received Java exception java.lang.NoClassDefFoundError:
com/app/mad/digitalphotocard/actions/StartApplication when converting an
RPG parameter to a Java array. The error occurred for parameter number 1
for the call to Java method "main" in class
"com.app.mad.digitalphotocard.actions.StartApplica tion".
Any pointers to the cause and recovery of this error would be very helpful.
I think the cause of the problem is that the java main method:
public static void main(String[] args) is not being prototyped and called correctly in the RPGLE program. But I am not able to figure out the correct way. Please help.
Thanks,
Subha.
Comment