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;

 

以上由于Jar包冲突所致

maven包如下:

解决办法如下:

 

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

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

 

posted @ 2019-06-05 14:10  Wind_LPH  阅读(517)  评论(0编辑  收藏  举报