From ec58a7683fbcd82b053ac2fdcc048cc527722236 Mon Sep 17 00:00:00 2001 From: XiaotianZha Date: Sun, 21 Jan 2024 20:27:21 +0800 Subject: [PATCH] Update spring-boot.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without `import`, there will be an error Could not find artifact io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter:jar:unknown --- content/en/docs/languages/java/automatic/spring-boot.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/docs/languages/java/automatic/spring-boot.md b/content/en/docs/languages/java/automatic/spring-boot.md index d8a91939020a..2cdbf999220b 100644 --- a/content/en/docs/languages/java/automatic/spring-boot.md +++ b/content/en/docs/languages/java/automatic/spring-boot.md @@ -53,12 +53,14 @@ The following example shows how to import both BOMs using Maven: opentelemetry-bom {{% param vers.otel %}} pom + import io.opentelemetry.instrumentation opentelemetry-instrumentation-bom-alpha {{% param vers.instrumentation %}}-alpha pom + import