springmvc中完成请求和注解POJO的映射 的类,在新的版本中已经不存在的了,如何处理

在之前差不多使用spring4.7的时候

在spring-mvc.xml中还有有这个类的  org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter

在之后的版本更新之后,就没有了,再次使用之前的配置文件的时候就开始报错

修改为:org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping

梦想这东西和经典一样,永远不会随时间而褪色,反而更加珍贵!
原文地址:https://www.cnblogs.com/haoxiu1004/p/9487184.html