spark-phoenix-hive-hbase -netty包冲突

authentication disabled; ui acls disabled; users with view permissions: Set(yanfabu); groups with view permissions: Set(); users with modify permissions: Set(yanfabu); groups with modify permissions: Set()
Exception in thread "main" java.lang.NoSuchMethodError: io.netty.buffer.PooledByteBufAllocator.metric()Lio/netty/buffer/PooledByteBufAllocatorMetric;java

 

以上因为Jar包冲突所致maven

maven包以下:ui

解决办法以下:.net

 

有四种方法进行参考,请自行查阅;3d

可直接强制引用某一个jar包:netty

相关文章
相关标签/搜索