diff --git a/pig-auth/src/main/java/com/github/pig/auth/PigAuthServerApplication.java b/pig-auth/src/main/java/com/github/pig/auth/PigAuthServerApplication.java index 4500723c..021e4d89 100644 --- a/pig-auth/src/main/java/com/github/pig/auth/PigAuthServerApplication.java +++ b/pig-auth/src/main/java/com/github/pig/auth/PigAuthServerApplication.java @@ -5,7 +5,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.netflix.feign.EnableFeignClients; import org.springframework.context.annotation.ComponentScan; -import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer; /** * @author lengleng @@ -14,7 +13,6 @@ import org.springframework.security.oauth2.config.annotation.web.configuration.E * EnableResourceServer */ @SpringBootApplication -@EnableResourceServer @EnableDiscoveryClient @EnableFeignClients @ComponentScan(basePackages = {"com.github.pig.auth", "com.github.pig.common.bean"})