Dear friends,
We have a SAP ESB adapter that is throwing below error while communicating to a target system
java.lang.NoClassDefFoundError: sun/io/MalformedInputException; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: sun/io/MalformedInputException; nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: sun/io/MalformedInputException; nested exception is: javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: sun/io/MalformedInputException
Based on my understanding of the error, as of JVM 8/
Java 1.8, the class sun/io/MalformedInputException is decommissioned. We are in a critical project and have come across this unanticipated road block and my question is is there a way we can make it backward compatible by adding some other Jar that provide the patches for this error ? Is the solution in this case to identify the exception calls and modify those and redeploy the application ?
I would really appreciate it if I can get prompt feedback and some suggestions on the topic.
Tx