特牛网址导航

spark报java.lang.NoSuchMethodError: io.netty.buffer.PooledByteBufAllocator.defaultNumHeapArena()I_exception in thread "main" java.lang.nosuchmethode-CSDN博客

网友收藏
文章浏览阅读1.5k次。spark2.4.6与scala2.11.12运行程序过程中,遇到了netty版本冲突或包缺失导致程序出现NoSuchMethodError异常,报错如下:Exception in thread “main” java.lang.NoSuchMethodError: io.netty.buffer.PooledByteBufAllocator.defaultNumHeapArena()I20/07/13 12:50:55 INFO SecurityManager: SecurityManager: au_exception in thread "main" java.lang.nosuchmethoderror: io.netty.buffer.pool