MultiActionController在Spring框架5.2.8.RELEASE中不支持。

huangapple go评论66阅读模式
英文:

Is MultiActionController not support in Spring framework 5.2.8.RELEASE

问题

我在依赖中添加了Spring Framework 5.2.8.RELEASE。在加载JAR文件后,当我尝试访问MultiActionController.class时,我注意到org.springframework.web.servlet.mvc.multiaction这个包丢失了。在这个版本中是否已经弃用了这个包?

英文:

I added spring framework 5.2.8.RELEASE in dependency. After jar loaded when I'm trying to access MultiActionController.class observred that org.springframework.web.servlet.mvc.multiaction this package is missing. Is there this package deprecated in this version?

MultiActionController在Spring框架5.2.8.RELEASE中不支持。

答案1

得分: 2

MultiActionController 在4.3版本中被标记为已弃用

> 从4.3版本开始已弃用,建议使用注解驱动的处理方法

并且在5.x版本中已移除

因此,您应该将其转换为带注解的控制器

英文:

The MultiActionController was marked deprecated in 4.3

> Deprecated as of 4.3, in favor of annotation-driven handler methods

and was removed in 5.x

Thus you should convert it to an annotated controller.

huangapple
  • 本文由 发表于 2020年8月4日 17:07:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/63243569.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定