Skip to content

Commit 19d068d

Browse files
ruhan1claude
andauthored
Fix Netty version conflict by upgrading o11yphant to 1.9.2 (#2511)
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 <[email protected]>
1 parent b572c2f commit 19d068d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

embedder/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
</properties>
3535

3636
<dependencies>
37-
<dependency>
38-
<groupId>io.grpc</groupId>
39-
<artifactId>grpc-netty</artifactId>
40-
</dependency>
4137
<dependency>
4238
<groupId>com.google.guava</groupId>
4339
<artifactId>guava</artifactId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<cassandraUnitVersion>3.7.1.0</cassandraUnitVersion>
9999
<datastaxVersion>3.11.3</datastaxVersion>
100100
<pathmappedStorageVersion>3.0</pathmappedStorageVersion>
101-
<o11yphantVersion>1.9.1</o11yphantVersion>
101+
<o11yphantVersion>1.9.2</o11yphantVersion>
102102
<swaggerVersion>1.6.6</swaggerVersion>
103103
<agroalVersion>1.16</agroalVersion>
104104
<groovyVersion>3.0.13</groovyVersion>

0 commit comments

Comments
 (0)