File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-cloud-gray-server/src/main/java/cn/springcloud/gray/server/configuration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
import org .springframework .context .annotation .Import ;
10
10
import org .springframework .web .servlet .config .annotation .CorsRegistry ;
11
11
import org .springframework .web .servlet .config .annotation .InterceptorRegistry ;
12
- import org .springframework .web .servlet .config .annotation .WebMvcConfigurer ;
12
+ import org .springframework .web .servlet .config .annotation .WebMvcConfigurerAdapter ;
13
13
14
14
/**
15
15
* Created by saleson on 2017/7/5.
16
16
*/
17
17
@ Configuration
18
18
@ ComponentScan ({"cn.springcloud.gray.server.resources" })
19
19
@ Import (Swagger2Configuration .class )
20
- public class WebConfiguration implements WebMvcConfigurer {
20
+ public class WebConfiguration extends WebMvcConfigurerAdapter {
21
21
22
22
23
23
@ Autowired
You can’t perform that action at this time.
0 commit comments