# help

Daniel Doornekamp

12/14/2023, 9:28 AM
Hi all, together with a developer of my company, we are trying to integrate Cerbos into an old spring boot project. We created a that references to PreAuthorize. This way, the request goes through the Authorization service to check permissions. At the moment we are receiving the following error: Caused by: java.lang.AbstractMethodError: Receiver class$NettyTransportFactory does not define or inherit an implementation of the resolved method 'abstract java.util.Collection getSupportedSocketAddressTypes()' of interface io.grpc.internal.ClientTransportFactory. This seems to be an error of the GRPC dependency. This is the setup in our build.gradle file: implementation 'dev.cerboscerbos sdk java0.+' implementation 'io.grpcgrpc core1.+' Do you have any idea on how to resolve this issue?

Charith (Cerbos)

12/14/2023, 9:58 AM
Do you have other dependencies that use a different version of grpc? Looking at the output of
./gradlew dependencies
would show you those. Try changing the grpc dependency to
implementation 'io.grpc:grpc-core:1.60.0'
to see if that helps too.