Closed vladykin closed 1 year ago
Unfortunately, this happens in the quarkus deployment, so not much a mere user can do here ... It builds (and tests) fine with the following patch:
diff --git a/deployment/src/main/java/io/quarkus/hazelcast/client/deployment/HazelcastClientProcessor.java b/deployment/src/main/java/io/quarkus/hazelcast/client/deployment/HazelcastClientProcessor.java
index d9bce4b..176820e 100644
--- a/deployment/src/main/java/io/quarkus/hazelcast/client/deployment/HazelcastClientProcessor.java
+++ b/deployment/src/main/java/io/quarkus/hazelcast/client/deployment/HazelcastClientProcessor.java
@@ -27,7 +27,7 @@ import com.hazelcast.client.impl.spi.ClientProxyFactory;
import com.hazelcast.client.util.RandomLB;
import com.hazelcast.cluster.MembershipListener;
import com.hazelcast.collection.ItemListener;
-import com.hazelcast.com.fasterxml.jackson.core.JsonFactory;
+import com.fasterxml.jackson.core.JsonFactory;
import com.hazelcast.config.replacer.EncryptionReplacer;
import com.hazelcast.config.replacer.PropertyReplacer;
import com.hazelcast.config.replacer.spi.ConfigReplacer;
diff --git a/pom.xml b/pom.xml
index b45ccee..2fc2fb0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,7 @@
<properties>
<quarkus.version>3.2.3.Final</quarkus.version>
- <hazelcast.version>5.2.4</hazelcast.version>
+ <hazelcast.version>5.3.5</hazelcast.version>
<jcache.version>1.1.1</jcache.version>
<affinity.version>3.23.3</affinity.version>
@@ -280,4 +280,4 @@
</build>
</profile>
</profiles>
-</project>
\ No newline at end of file
+</project>
So maybe a fix could be made available soon(ish)?
Thank you for the fix! Where will the new release of quarkus-hazelcast-client be available?
When can we expect a release with this fix? We are unable to use newer versions of Hazelcast Client without it unless we build quarkus-hazelcast-client from source ...
Describe the bug Attempted to bump Hazelcast dependency version in our Quarkus 3.2-based app from 5.2.2 to 5.3.4. Started getting
NoClassDefFoundError: com/hazelcast/com/fasterxml/jackson/core/JsonFactory
in tests annotated with@QuarkusTest
.quarkus-hazelcast-client 4.0.0 refers to this class, but apparently it's not there in the latest Hazelcast.