Skip to content

NoSuchMethodError: java.nio.ByteBuffer.clear() #158

@miner

Description

@miner

This is the same problem as issue #116 but with the latest lmdbjava 0.8.0. (I have JDK 8 on my machine.) I adapted my code for the CursorIterator design changes #154, but my project still failed with the NoSuchMethodError due to the (old) Java API changes in ByteBuffer between JDK 8 and 9. As discussed last time, JDK 8 is close to end of life. I updated to a JDK 11 and everything is working again for me. I suggest that you document the minimum required Java version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue relates to behaviour that violates the intention of the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions