Hi all, together with a developer of my company, we are trying to integrate Cerbos into an old spring boot project. We created a CerbosAuthorizationService.java 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
io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$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.cerbos
cerbos sdk java0.+'
implementation 'io.grpc
grpc core1.+'
Do you have any idea on how to resolve this issue?