Open luigi-tas opened 6 months ago
jPOS 2.1.9 was built on Java 11 and targeted Java 8, so it should have worked. This change in ByteBuffer was unexpected. Please check if jPOS 2.1.10-SNAPSHOT solves this issue and we'll try to make a release soon in order to address this problem. Please confirm at your convenience @luigi-tas.
We tryed to use new version 2.1.9 with JBoss7 on JDK8 and we had this error: Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.mark()Ljava/nio/ByteBuffer; at org.jpos.tlv.TLVList.skipBytes(TLVList.java:398) at org.jpos.tlv.TLVList.getTAG(TLVList.java:439) at org.jpos.tlv.TLVList.getTLVMsg(TLVList.java:355) at org.jpos.tlv.TLVLis
As stated in this tutorial, I think that it's an issue with compiler of jdk11 : https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/
We need 2.1.9 of jpos to upgrade version of snakeyml for security issue, but we have to stay with jdk8.
Thank you