From 7c62f05efd2cd314cbbaebeab489a31d80d08b35 Mon Sep 17 00:00:00 2001 From: ycl Date: Thu, 26 Dec 2024 10:06:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20template/entrance/web/src/?= =?UTF-8?q?main/resources/application.properties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #注销掉es的默认装配 --- .../entrance/web/src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/entrance/web/src/main/resources/application.properties b/template/entrance/web/src/main/resources/application.properties index 36a4e5a..11b4c7d 100644 --- a/template/entrance/web/src/main/resources/application.properties +++ b/template/entrance/web/src/main/resources/application.properties @@ -4,7 +4,7 @@ spring.main.allow-bean-definition-overriding=true project_id=${projectId} project_name=handeTest check=true - spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER - +#注销掉es的自动装配 +spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration com.toco.agent.attach=true \ No newline at end of file