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