File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
spring-autoconfigure/src/main/java/org/springframework/autoconfigure/web Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 44
44
import org .springframework .web .filter .HiddenHttpMethodFilter ;
45
45
import org .springframework .web .servlet .DispatcherServlet ;
46
46
import org .springframework .web .servlet .HandlerAdapter ;
47
- import org .springframework .web .servlet .HandlerMapping ;
48
47
import org .springframework .web .servlet .View ;
49
48
import org .springframework .web .servlet .config .annotation .DefaultServletHandlerConfigurer ;
50
49
import org .springframework .web .servlet .config .annotation .EnableWebMvc ;
64
63
@ Configuration
65
64
@ ConditionalOnClass ({ Servlet .class , DispatcherServlet .class ,
66
65
WebMvcConfigurerAdapter .class })
67
- @ ConditionalOnMissingBean ({ HandlerAdapter .class , HandlerMapping . class })
66
+ @ ConditionalOnMissingBean ({ HandlerAdapter .class })
68
67
@ Order (Ordered .HIGHEST_PRECEDENCE + 10 )
69
68
@ AutoConfigureAfter (EmbeddedServletContainerAutoConfiguration .class )
70
69
public class WebMvcAutoConfiguration {
You can’t perform that action at this time.
0 commit comments