Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OSB Java Callout error ClassNotFoundException: org.jpos.iso.packager.GenericPackager

Junaid AhmedApr 10 2018 — edited Apr 11 2018

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

This post has been answered by Ankit kalanoria on Apr 11 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2018
Added on Apr 10 2018
7 comments
1,304 views