From 29aa41e41b27c403b1f195552b819b9f147c086b Mon Sep 17 00:00:00 2001 From: David Georg Reichelt Date: Wed, 1 Jan 2025 17:56:10 +0100 Subject: [PATCH] Fix compilation - execution still fails --- quickstart/testapp/pom.xml | 5 ++++- .../pinpoint/testapp/controller/ApisController.java | 2 +- .../pinpoint/testapp/service/remote/HttpRemoteService.java | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/quickstart/testapp/pom.xml b/quickstart/testapp/pom.xml index e634bc18eca8..7948abf55693 100644 --- a/quickstart/testapp/pom.xml +++ b/quickstart/testapp/pom.xml @@ -40,14 +40,17 @@ org.springframework.boot spring-boot-starter-thymeleaf + ${spring-boot.version} org.springframework.boot spring-boot-starter-web + ${spring-boot.version} org.springframework.boot spring-boot-starter-tomcat + ${spring-boot.version} @@ -80,4 +83,4 @@ - \ No newline at end of file + diff --git a/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/controller/ApisController.java b/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/controller/ApisController.java index c7c3d96af618..9201532f9293 100644 --- a/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/controller/ApisController.java +++ b/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/controller/ApisController.java @@ -10,7 +10,7 @@ import java.util.TreeMap; import java.util.TreeSet; -import jakarta.annotation.PostConstruct; +import javax.annotation.PostConstruct; import org.springframework.ui.Model; import org.springframework.util.CollectionUtils; diff --git a/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/service/remote/HttpRemoteService.java b/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/service/remote/HttpRemoteService.java index f41917bf7c89..319dc9a45991 100644 --- a/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/service/remote/HttpRemoteService.java +++ b/quickstart/testapp/src/main/java/com/navercorp/pinpoint/testapp/service/remote/HttpRemoteService.java @@ -23,6 +23,8 @@ import com.fasterxml.jackson.databind.ObjectMapper; +import java.util.Objects; + /** * @author koo.taejin */