From b190384b00ecd6f481333bb8b2b2d5967f222c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Mon, 14 Nov 2022 12:04:44 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=96=B0=E5=A2=9E=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20mica-metrics=20=E4=B8=BA=20undertow=20=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-common/ruoyi-common-web/pom.xml | 6 ++++++ .../mica/metrics/druid/DruidMetricsConfiguration.java | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 ruoyi-common/ruoyi-common-web/src/main/java/net/dreamlu/mica/metrics/druid/DruidMetricsConfiguration.java diff --git a/ruoyi-common/ruoyi-common-web/pom.xml b/ruoyi-common/ruoyi-common-web/pom.xml index 85537dd3..35d6d530 100644 --- a/ruoyi-common/ruoyi-common-web/pom.xml +++ b/ruoyi-common/ruoyi-common-web/pom.xml @@ -40,5 +40,11 @@ true + + net.dreamlu + mica-metrics + 2.7.5 + + diff --git a/ruoyi-common/ruoyi-common-web/src/main/java/net/dreamlu/mica/metrics/druid/DruidMetricsConfiguration.java b/ruoyi-common/ruoyi-common-web/src/main/java/net/dreamlu/mica/metrics/druid/DruidMetricsConfiguration.java new file mode 100644 index 00000000..844459e5 --- /dev/null +++ b/ruoyi-common/ruoyi-common-web/src/main/java/net/dreamlu/mica/metrics/druid/DruidMetricsConfiguration.java @@ -0,0 +1,11 @@ +package net.dreamlu.mica.metrics.druid; + +import org.springframework.boot.autoconfigure.AutoConfiguration; + +/** + * 修复 mica 自带的druid类导致报错问题 + */ +@AutoConfiguration +public class DruidMetricsConfiguration { + +}