We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cacce6a commit 0f4372cCopy full SHA for 0f4372c
spring-cloud-gray-server/src/main/java/cn/springcloud/gray/server/configuration/WebConfiguration.java
@@ -9,15 +9,15 @@
9
import org.springframework.context.annotation.Import;
10
import org.springframework.web.servlet.config.annotation.CorsRegistry;
11
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
12
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
13
14
/**
15
* Created by saleson on 2017/7/5.
16
*/
17
@Configuration
18
@ComponentScan({"cn.springcloud.gray.server.resources"})
19
@Import(Swagger2Configuration.class)
20
-public class WebConfiguration implements WebMvcConfigurer {
+public class WebConfiguration extends WebMvcConfigurerAdapter {
21
22
23
@Autowired
0 commit comments