我在依赖项中添加了 spring 框架 5.2.8.RELEASE。加载 jar 后,当我尝试访问 MultiActionController.class 时,发现 org.springframework.web.servlet.mvc.multiaction 这个包丢失了。此版本是否已弃用此软件包?
最佳答案
MultiActionController
在 4.3 中被标记为已弃用
Deprecated as of 4.3, in favor of annotation-driven handler methods
并在 5.x 中被删除
因此您应该将其转换为 annotated controller .
关于java - Spring框架5.2.8.RELEASE不支持MultiActionController,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63243569/