DefaultAnnotationHandlerMapping 改为 RequestMappingHandlerMapping

4.1.4
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" />

5.1.7
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" />
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter" />

posted @ 2019-05-24 11:16  筠珑枫绦  阅读(670)  评论(0编辑  收藏  举报