我在运行 RPG 程序时遇到 AS/400 错误...我试图从我的 RPG 程序中调用 java 方法。我在 ADDENVVAR 的类路径变量中添加了名为 mail.jar 和 activation.jar 的 tw .jar 文件。但仍然错误是找不到类...
Additional Message Information
Message ID . . . . . . : RNQ0301 Severity . . . . . . . : 99
Message type . . . . . : Sender copy
Date sent . . . . . . : 12/31/10 Time sent . . . . . . : 12:01:08
Message . . . . : Java exception received when calling Java method (C G D
F).
Cause . . . . . : RPG procedure MAILERDEMO in program SAHOON1/MAILERDEMO
received Java exception "java.lang.NoClassDefFoundError:
javax/mail/Authenticator" when calling method "sendSimpleMail" with
signature
"(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V
" in class "demo.Mailer".
Recovery . . . : Contact the person responsible for program maintenance to
determine the cause of the problem.
Possible choices for replying to message . . . . . . . . . . . . . . . :
More...
Reply . . . : F
请帮帮我......
感谢您的建议...