Hi, When runing JPOS lib in java project on eclipse(OEPE) it is running fine. but when we are using it javacallout on console it is giving following exception.
<Apr 10, 2018 12:20:30 PM PKT> <Error> <OSB Transform> <BEA-382515> <Callout to java method "public static java.lang.String hsn.TestDemo.getISOMsg(java.lang.String) throws java.lang.Exception" resulted in exception: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at stages.transform.runtime.JavaCalloutRuntimeStep$1.run(JavaCalloutRuntimeStep.java:183)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: org/jpos/iso/packager/GenericPackager
at hsn.TestDemo.getISOMsg(TestDemo.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
Truncated. see log file for complete stacktrace