From e814bbafa6723adfa21cd6f4f550062c7d39d1c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E6=AD=AA?= Date: Mon, 1 Nov 2021 17:32:26 +0800 Subject: [PATCH] add utils dependency --- austin-web/pom.xml | 14 +++++++------ .../com/java3y/austin/AustinApplication.java | 5 +++++ pom.xml | 21 +++++++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/austin-web/pom.xml b/austin-web/pom.xml index 767ec5a..196640b 100644 --- a/austin-web/pom.xml +++ b/austin-web/pom.xml @@ -12,29 +12,31 @@ austin-web - org.springframework.boot spring-boot-starter - org.springframework.boot spring-boot-starter-test test - - org.projectlombok lombok - - org.springframework.boot spring-boot-starter-web + + cn.hutool + hutool-all + + + com.google.guava + guava + \ No newline at end of file diff --git a/austin-web/src/main/java/com/java3y/austin/AustinApplication.java b/austin-web/src/main/java/com/java3y/austin/AustinApplication.java index 0fa1253..58e43ba 100644 --- a/austin-web/src/main/java/com/java3y/austin/AustinApplication.java +++ b/austin-web/src/main/java/com/java3y/austin/AustinApplication.java @@ -1,5 +1,9 @@ package com.java3y.austin; +import cn.hutool.core.util.ObjectUtil; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.Data; +import lombok.extern.slf4j.Slf4j; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; @@ -21,6 +25,7 @@ public class AustinApplication { @GetMapping("/hello") public String hello(@RequestParam(value = "name", defaultValue = "World") String name) { + logger.error("error logback for austin"); logger.info("info logback for austin"); return String.format("Hello %s!", name); diff --git a/pom.xml b/pom.xml index 5751331..fb99d37 100644 --- a/pom.xml +++ b/pom.xml @@ -37,6 +37,27 @@ mysql-connector-java 5.1.35 + + + + cn.hutool + hutool-all + 5.7.15 + + + + + com.google.guava + guava + 31.0.1-jre + + + + + org.apache.commons + commons-collections4 + 4.4 +