java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.epoll.IovArray

GitHub | weishengshui | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    下载1.14-release版本启动报错

    GitHub | 6 months ago | weishengshui
    java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.epoll.IovArray

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class io.netty.channel.epoll.IovArray

      at io.netty.channel.epoll.EpollEventLoop.<init>()
    2. Netty
      EpollEventLoopGroup.<init>
      1. io.netty.channel.epoll.EpollEventLoop.<init>(EpollEventLoop.java:62)
      2. io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:114)
      3. io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:64)
      4. io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)
      5. io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:93)
      6. io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:80)
      7. io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:61)
      7 frames
    3. org.apache.bookkeeper
      BookKeeper.<init>
      1. org.apache.bookkeeper.client.BookKeeper.getDefaultEventLoopGroup(BookKeeper.java:936)
      2. org.apache.bookkeeper.client.BookKeeper.<init>(BookKeeper.java:243)
      2 frames
    4. com.yahoo.pulsar
      PulsarStandaloneStarter.main
      1. com.yahoo.pulsar.broker.BookKeeperClientFactoryImpl.create(BookKeeperClientFactoryImpl.java:79)
      2. com.yahoo.pulsar.broker.ManagedLedgerClientFactory.<init>(ManagedLedgerClientFactory.java:38)
      3. com.yahoo.pulsar.broker.PulsarService.start(PulsarService.java:231)
      4. com.yahoo.pulsar.PulsarStandaloneStarter.start(PulsarStandaloneStarter.java:143)
      5. com.yahoo.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:175)
      5 frames