Spring Framework 5 does not include support for Spring Portlet MVC. Support for Spring Framework 4, including Portlet MVC support, will remain until 2020. What is the future of Spring Portlet MVC and Liferay?
Liferay adopted Spring Portlet MVC in March of 2019 and the project was renamed to PortletMVC4Spring. PortletMVC4Spring is an open source project for developing portlet-based applications using the Spring Framework and MVC patterns.
PortletMVC4Spring is fully backed by Liferay. Customers can report issues with the PortletMVC4Spring project in order to receive issue resolution and limited guidance as part of their subscription benefits.
PortletMVC4Spring requires JDK 8+ and Portlet API 3.0. In addition, it has been refactored and tested for use with version 5.1.x of the Spring Framework.
Impact to Liferay Platforms
Liferay DXP 7.1 and Above
PortletMVC4Spring can be used with Liferay DXP 7.1 fix pack 3 and higher.
Liferay DXP 7.0 and Below
PortletMVC4Spring requires a Portlet 3.0 compliant portal. Previous versions of Spring Framework (4.X and 3.X) are compatible with Liferay DXP 7.0 and below. Spring Portlet MVC should be used for these versions of Liferay.