I'm suddenly getting this error when i try to use the hssfr4 service program.
It looks like it's suddenly not finding some java piece it needs.
Additional Message Information
Message ID . . . . . . : RNX0301 Severity . . . . . . . : 50
Message type . . . . . : Escape
Date sent . . . . . . : 03/07/13 Time sent . . . . . . : 07:50:10
Message . . . . : Java exception received when calling Java method.
Cause . . . . . : RPG procedure SS_OPEN in program POI36/HSSFR4 received
Java exception "java.lang.NoClassDefFoundError:
org.apache.poi.ss.usermodel.WorkbookFactory" when calling method "create"
with signature
"(Ljava.io.InputStream;)Lorg.apache.poi.ss.usermodel.Workbook;" in class
"org.apache.poi.ss.usermodel.WorkbookFactory".
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').
I tried the javap thing and got this -
$
javap -s org.apache.poi.ss.usermodel.WorkbookFactory
The java.version property was detected as input. This property is used
ERROR:Could not find org.apache.poi.ss.usermodel.WorkbookFactory
$
ANY help is appreciated -- there are production things that need to be run very soon
and I'm no java guru.
A guy here was trying to install something else, not related to poi, that uses java,
afaik that 'may' be the only thing that has changed.
I'm using POI36 and the SETENV program in the POI36 library - OS version is 7.1.
John
As an Amazon Associate we earn from qualifying purchases.