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
Exception in thread "Tarantool connector" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
at org.tarantool.protocol.ProtoUtils.connect(ProtoUtils.java:183)
at org.tarantool.TarantoolClientImpl.connect(TarantoolClientImpl.java:199)
at org.tarantool.TarantoolClientImpl.reconnect(TarantoolClientImpl.java:184)
at org.tarantool.TarantoolClientImpl$1.run(TarantoolClientImpl.java:97)
at java.lang.Thread.run(Thread.java:748)
Both connector library and my program are built by the same compiler on macos.
o-obolenskiy:nosqltest o.obolenskiy$ java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
The text was updated successfully, but these errors were encountered:
Tarantool client uses java.nio.ByteBuffer to represent a payload to be
sent through the network. JDK 9 introduces a number of new methods that
override java.nio.Buffer methods in order to return ByteBuffer instead
of Buffer. Because of overriding, those methods are available in JRE 8
or below but cannot be invoked if the connector is built using JDK 9 or
above using new signatures for methods overridden. To be compatible
with JREs before 9, it possible to cast ByteBuffer to Buffer class
explicitly. As a result, a method will be called which is available in
older versions but it breaks conciseness of the code.
Closes: #215
Tarantool client uses java.nio.ByteBuffer to represent a payload to be
sent through the network. JDK 9 introduces a number of new methods that
override java.nio.Buffer methods in order to return ByteBuffer instead
of Buffer. Because of overriding, those methods are available in JRE 8
or below but cannot be invoked if the connector is built using JDK 9 or
above using new signatures for methods overridden. To be compatible
with JREs before 9, it possible to cast ByteBuffer to Buffer class
explicitly. As a result, a method will be called which is available in
older versions but it breaks conciseness of the code.
Closes: #215
Exception in thread "Tarantool connector" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
at org.tarantool.protocol.ProtoUtils.connect(ProtoUtils.java:183)
at org.tarantool.TarantoolClientImpl.connect(TarantoolClientImpl.java:199)
at org.tarantool.TarantoolClientImpl.reconnect(TarantoolClientImpl.java:184)
at org.tarantool.TarantoolClientImpl$1.run(TarantoolClientImpl.java:97)
at java.lang.Thread.run(Thread.java:748)
Both connector library and my program are built by the same compiler on macos.
o-obolenskiy:nosqltest o.obolenskiy$ java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
The text was updated successfully, but these errors were encountered: