diff --git a/apiGateway-service/src/main/java/com/waither/apigatewayservice/ApiGatewayServiceApplication.java b/apiGateway-service/src/main/java/com/waither/apigatewayservice/ApiGatewayServiceApplication.java index b8616054..633a6ddd 100644 --- a/apiGateway-service/src/main/java/com/waither/apigatewayservice/ApiGatewayServiceApplication.java +++ b/apiGateway-service/src/main/java/com/waither/apigatewayservice/ApiGatewayServiceApplication.java @@ -2,11 +2,9 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.context.annotation.Bean; -import org.springframework.security.config.web.server.ServerHttpSecurity; -import org.springframework.security.web.server.SecurityWebFilterChain; +import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; -@SpringBootApplication +@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) public class ApiGatewayServiceApplication { public static void main(String[] args) {