zhanghongwei1 2 년 전
부모
커밋
b0bb30cb7c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/java/com/persagy/WorkCalendarApplication.java

+ 2 - 1
src/main/java/com/persagy/WorkCalendarApplication.java

@@ -1,5 +1,6 @@
 package com.persagy;
 
+import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@@ -12,7 +13,7 @@ import com.persagy.common.annotation.EnableIdGenerator;
 @EnableIdGenerator
 @EnableControllerLog
 @EnableDiscoveryClient
-@SpringBootApplication
+@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
 @EnableTransactionManagement
 @EnableFeignClients(basePackages = "com.persagy.calendar.client")
 public class WorkCalendarApplication {