DefaultAnnotationHandlerMapping,AnnotationMethodHandlerAdapter这两个类在spring的的框架源码里面有默认的设置。如果不在配置文件指定的话,当你启动spring时会调用默认的那个。