From fe08a077067b1712ee2ace636e339158181a8a00 Mon Sep 17 00:00:00 2001 From: croway Date: Fri, 4 Sep 2026 09:08:34 +0200 Subject: [PATCH] Fix observation example: drop hardcoded micrometer-tracing-bom import observation/pom.xml imported micrometer-tracing-bom 1.5.0 ahead of spring-boot-dependencies (which manages 1.7.1), forcing micrometer-core down to 1.15.0. That version is missing the JvmMemoryMeterConventions class, so service2 crashed at startup with a ClassNotFoundException before service1/client could even be reached. spring-boot-dependencies already manages micrometer-tracing consistently, so the extra BOM import is removed instead of pinned to a matching version. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01JvQJNT1UYzqUm5HQtkL6Nu --- observation/pom.xml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/observation/pom.xml b/observation/pom.xml index 32f74caa..50909d42 100644 --- a/observation/pom.xml +++ b/observation/pom.xml @@ -36,19 +36,11 @@ Management and Monitoring Micrometer Observation - 1.5.0 - - io.micrometer - micrometer-tracing-bom - ${micrometer-tracing.version} - pom - import - org.apache.camel.springboot camel-spring-boot-bom