Closed yankooo closed 1 year ago
Caused by: java.lang.ClassNotFoundException: io.micrometer.core.instrument.binder.grpc.MetricCollectingServerInterceptor
Please update this library and your spring-boot parent/bom or at least micrometer.
I am also getting the same issue. @ST-DDT Can you please elaborate on that needs to be updated?
spring-boot-version : 2.3.12.RELEASE gradle version: 6.7.1 net.devh:grpc-server-spring-boot-starter : 2.14.0.RELEASE We are using Java 8.
I want to make this work without having to upgrade spring or java. Can I use a certain release version of grpc-server-spring-boot-starter and make this work?
I want to make this work without having to upgrade spring or java.
Update micrometer to v1.7+. https://github.com/micrometer-metrics/micrometer/commit/2b600e223d11f69bc884de4aa82a123b8a39a856
Note: Certain Spring v2.3 features are incompatible with this lib's v2.12.0.RELEASE+, if you use/need them. I cannot provide support myself for them anymore.
grpc-srping-boot-start version: 2.8.0 spring-boot version: 2.2.7
I'm currently working on a project where I need to provide both an HTTP service and a gRPC service, each operating on its own distinct port. I am using the grpc-spring-boot-starter for setting up the gRPC service.
However, I keep running into the following error during the startup of my application:
config :
I have tried various solutions to rectify this issue but to no avail. At this point, I'm not sure if this issue is related to the fact that I am listening to two services.
Could you provide some guidance on this issue or point out if there's something I might be missing in my setup?