We had to upgrade our Spring version of 2.X.X alongside with other dependencies in our pom.xml
in order to handle and fix multiple vulnerabilities that started to gathered.
After upgrading our old io.grpc
& net.devh
gRPC dependencies our application won’t start with the following error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grpcHealthService' defined in class path resource [net/devh/boot/grpc/server/autoconfigure/GrpcHealthServiceAutoConfiguration.class]: Could not generate CGLIB subclass of class io.grpc.protobuf.services.HealthServiceImpl: Common causes of this problem include using a final class or a non-visible class
While I understand the error message, I’m cannot understand how to fix it. I tried to downgrade versions, even of Spring’s but nothing seems to work.
Any lead will be appreciated.