Spring starter issue after upgrading to 0.25.0

Hi, I upgraded Zeebe be to 0.25.1, and also the spring Zeebe starter to 0.25.0. now I am getting some error.

here is the log:


***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    io.zeebe.client.impl.ZeebeClientImpl.buildChannel(ZeebeClientImpl.java:127)

The following method did not exist:

    io.grpc.netty.NettyChannelBuilder.userAgent(Ljava/lang/String;)Lio/grpc/ForwardingChannelBuilder;

The method's class, io.grpc.netty.NettyChannelBuilder, is available from the following locations:

    jar:file:/C:/Users/joyso/.m2/repository/io/grpc/grpc-netty/1.30.2/grpc-netty-1.30.2.jar!/io/grpc/netty/NettyChannelBuilder.class

The class hierarchy was loaded from the following locations:

    io.grpc.netty.NettyChannelBuilder: file:/C:/Users/joyso/.m2/repository/io/grpc/grpc-netty/1.30.2/grpc-netty-1.30.2.jar
    io.grpc.internal.AbstractManagedChannelImplBuilder: file:/C:/Users/joyso/.m2/repository/io/grpc/grpc-core/1.30.2/grpc-core-1.30.2.jar
    io.grpc.ManagedChannelBuilder: file:/C:/Users/joyso/.m2/repository/io/grpc/grpc-api/1.30.2/grpc-api-1.30.2.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of io.grpc.netty.NettyChannelBuilder


Process finished with exit code 1

if I downgrade to 0.24.0, everything will work perfectly. Please help me to resolve this.

1 Like

Hey,

“The following method did not exist” says that the method doesnt exsists ;).

In Zeebe the grpc version from pom file is <version.grpc>1.33.0</version.grpc>
I think your version missmatch beacuse you use version 1.30.2.

Maybe try to update you grpc version in your project.

I am currently not using zeebe but no other replied, so i hope i can help you a little bit :).

You can compare these versions:

v0.24.0:

v0.25.1:

1 Like