Home > Back-end >  GRPC Springboot projects cannot be started
GRPC Springboot projects cannot be started

Time:12-28

for help and doing a springboot project, need gRPC communication, I just added gRPC dependence in the pom file, project cannot start,
Error message:

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

Description:

Parameter 1 of method authenticatingServerInterceptor in.net. Devh. Boot. GRPC. Server autoconfigure. GrpcServerSecurityAutoConfiguration required a bean of type 'net. Devh. Boot. GRPC. For server security, authentication, GrpcAuthenticationReader' that could not be found.


Action:

Consider defining a bean of type 'net. Devh. Boot. GRPC. For server security, authentication, GrpcAuthenticationReader' in your configuration.
project structure

Configuration file is

error screenshot
  • Related