From 4edb8bbf5fbedd446907c039b0c8319d22b0db30 Mon Sep 17 00:00:00 2001 From: ruhan Date: Fri, 5 Dec 2025 15:15:50 +0700 Subject: [PATCH] Fix Netty version conflict by upgrading o11yphant to 1.9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit resolves a Netty version conflict that was causing the warning: "NoClassDefFoundError: io/netty/util/internal/ClassInitializerUtil" The issue was caused by multiple Netty versions in the dependency tree: - Datastax Cassandra driver (3.11.3) brought in Netty 4.1.77.Final - grpc-netty (1.35.0) brought in Netty 4.1.52.Final This conflict prevented Netty from loading its native epoll transport, causing it to fall back to NIO with a warning message. Solution: - Upgraded o11yphant from 1.9.1 to 1.9.2 - Version 1.9.2 removed the grpc-netty dependency from o11yphant-trace-otel - Removed direct grpc-netty dependency from embedder module This is a cleaner solution than forcing Netty version alignment via BOM, as it eliminates the conflicting dependency entirely. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- embedder/pom.xml | 4 ---- pom.xml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/embedder/pom.xml b/embedder/pom.xml index adaaf471d6..95e36bc217 100644 --- a/embedder/pom.xml +++ b/embedder/pom.xml @@ -34,10 +34,6 @@ - - io.grpc - grpc-netty - com.google.guava guava diff --git a/pom.xml b/pom.xml index bcc0442a0b..9855de0319 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 3.7.1.0 3.11.3 3.0 - 1.9.1 + 1.9.2 1.6.6 1.16 3.0.13