You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered: