New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer; #877
Comments
jdk21 is normal |
this is a java compilation bug need to be fixed. @onestow would you mind fix that? |
I'm sorry, but I haven't had time for anything else recently v_v |
/assign @yhmo could you help on it? |
Java SDK is compiled by openjdk 11 with language level 8. Seems this is an issue of ByteBuffer. If it cannot run under jdk 1.8, try use jdk 11 instead. |
check the link ... |
maven.compiler.release doesn't resolve this issue. I tested on my local.
|
A possible solution is: compile the SDK with OpenJDK 1.8 and language level 8 from the next version. There is a potential problem: seems the tensorflow-core-platform could not work under openjdk 1.8. (Currently, we use this lib for Float16Vector examples).
|
My JDK version is 1.8, milvus-sdk-java version is 2.4.0, when I run
SearchResultsWrapper.getIDScore
, and I got the exception:how to solve it?
The text was updated successfully, but these errors were encountered: