Closed loong024 closed 4 months ago
spring-boot-starter-parent version: 3.1.8
Tried
The version in question occurs when using the micrometer-core (1.11.8) that comes with spring-boot-starter-parent (3.1.8). The above problem occurs. The micrometer-core 1.12.3 version can be started normally by introducing it separately.
When upgrading to the spring-boot-starter-parent (3.2.2) version, it can start normally without introducing micrometer-core.
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-02-23T10:01:20.240+08:00 ERROR 39100 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
The following method did not exist:
The calling method's class, net.devh.boot.grpc.client.metrics.MetricsClientInstruments, was loaded from the following location:
The called method's class, io.micrometer.core.instrument.Counter$Builder, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
Action:
Correct the classpath of your application so that it contains compatible versions of the classes net.devh.boot.grpc.client.metrics.MetricsClientInstruments and io.micrometer.core.instrument.Counter$Builder
Disconnected from the target VM, address: '127.0.0.1:50818', transport: 'socket'
Process finished with exit code 1