Looking at the relevant information, it is found that after registering <mvc:annotation-driven />, it is equivalent to automatically assembling two beans, AnnotationMethodHandlerAdapter and DefaultAnnotationHandlerMapping, so they cannot be defined repeatedly, and after spring 3.2, these two methods have expired. It is recommended to use RequestMappingHandlerMapping and RequestMappingHandlerAdapter. classes
Problems caused by <mvc:annotation-driven />
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=327078612&siteId=291194637
Ranking