OpenHFT/Chronicle-Queue

chronicle-queue using the wrong chronicle-wire version - Maven

woj-b opened this issue · 1 comments

I'm trying to use the latest version from Maven:


<dependency>
  <groupId>net.openhft</groupId>
  <artifactId>chronicle-queue</artifactId>
  <version>5.25ea10</version>
</dependency>

However, when I start up my app, it appears it's picking up an older version of chronicle-wire and throwing an exception:

java.lang.NoSuchMethodError: 'net.openhft.chronicle.core.scoped.ScopedResource net.openhft.chronicle.wire.wires.acquireStringBuilderScoped()'

I manually added chronicle-wire version 2.25.ea9 into my pom:


<dependency>
  <groupId>net.openhft</groupId>
  <artifactId>chronicle-wire</artifactId>
  <version>2.25ea9</version>
</dependency>

but it still appears to pull in an older version that's missing this method.

I'm using OpenJDK 19.0.1 (with Java 17 compatibility mode on)

Am I missing some additional version declarations in the pom? I tried using an older version, but that seemed to come with some other issues (failing to load the 'group' field from Thread.java, despite having add-opens jvm args that are recommended here: https://chronicle.software/chronicle-support-java-17/)

Another project was importing an older version of chronicle-map, adding some exclusions seems to fix the issue