operating system:
macOS 10.15.7
java version:
openjdk version “11.0.1” 2018-10-16
source code branch:
develop
package command:
mvn clean package -U -DskipTests
error message:
operating system:
macOS 10.15.7
java version:
openjdk version “11.0.1” 2018-10-16
source code branch:
develop
package command:
mvn clean package -U -DskipTests
error message:
Hi @izgabel,
Please post stacktraces as text inside code blocks (triple back-ticks).
The error I see there is that netty is only supported on Linux. You may need to rebuild some module. See here: https://netty.io/wiki/native-transports.html
Please open a GitHub issue for “Cannot build on Mac OS” in the Zeebe GitHub project if you can’t get that to work.
Josh
java.lang.UnsatisfiedLinkError: failed to load the required native library
at io.netty.channel.epoll.Epoll.ensureAvailability(Epoll.java:80) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.channel.epoll.EpollEventLoop.<clinit>(EpollEventLoop.java:51) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:150) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:35) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84) ~[netty-common-4.1.58.Final.jar:4.1.58.Final]
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58) ~[netty-common-4.1.58.Final.jar:4.1.58.Final]
at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47) ~[netty-common-4.1.58.Final.jar:4.1.58.Final]
at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59) ~[netty-transport-4.1.58.Final.jar:4.1.58.Final]
at io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:112) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:99) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:76) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.atomix.cluster.messaging.impl.NettyMessagingService.initEventLoopGroup(NettyMessagingService.java:317) ~[atomix-cluster-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.atomix.cluster.messaging.impl.NettyMessagingService.start(NettyMessagingService.java:244) ~[atomix-cluster-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.Broker.commandApiTransportStep(Broker.java:284) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.Broker.lambda$initStart$1(Broker.java:209) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.bootstrap.StartProcess.lambda$startStepByStep$2(StartProcess.java:63) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.bootstrap.StartProcess.takeDuration(StartProcess.java:92) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.bootstrap.StartProcess.startStepByStep(StartProcess.java:61) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.bootstrap.StartProcess.takeDuration(StartProcess.java:92) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.bootstrap.StartProcess.start(StartProcess.java:46) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.Broker.internalStart(Broker.java:180) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.util.LogUtil.doWithMDC(LogUtil.java:21) ~[zeebe-util-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.Broker.start(Broker.java:160) ~[zeebe-broker-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at io.zeebe.broker.StandaloneBroker.run(StandaloneBroker.java:60) ~[zeebe-distribution-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:804) [spring-boot-2.4.2.jar:2.4.2]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:788) [spring-boot-2.4.2.jar:2.4.2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:333) [spring-boot-2.4.2.jar:2.4.2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) [spring-boot-2.4.2.jar:2.4.2]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) [spring-boot-2.4.2.jar:2.4.2]
at io.zeebe.broker.StandaloneBroker.main(StandaloneBroker.java:47) [zeebe-distribution-0.27.0-SNAPSHOT.jar:0.27.0-SNAPSHOT]
Caused by: java.lang.ExceptionInInitializerError
at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:39) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
... 29 more
Caused by: java.lang.IllegalStateException: Only supported on Linux
at io.netty.channel.epoll.Native.loadNativeLibrary(Native.java:244) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.channel.epoll.Native.<clinit>(Native.java:69) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:39) ~[netty-transport-native-epoll-4.1.58.Final-linux-x86_64.jar:4.1.58.Final]
... 29 more