javaspringspring-mvcspring-framework-beans

Is MultiActionController not support in Spring framework 5.2.8.RELEASE


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?

enter image description here


Solution

  • 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.