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 99import org .springframework .context .annotation .Import ;
1010import org .springframework .web .servlet .config .annotation .CorsRegistry ;
1111import 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 ;
1313
1414/**
1515 * Created by saleson on 2017/7/5.
1616 */
1717@ Configuration
1818@ ComponentScan ({"cn.springcloud.gray.server.resources" })
1919@ Import (Swagger2Configuration .class )
20- public class WebConfiguration implements WebMvcConfigurer {
20+ public class WebConfiguration extends WebMvcConfigurerAdapter {
2121
2222
2323 @ Autowired
You can’t perform that action at this time.
0 commit comments