legacy-knowledge-base
公開されました Sep. 10, 2025

PortletMVC4Spring、Spring Framework、Liferay DXPの3つ。

written-by

Joel Garman

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

質問

Spring Framework 5では、Spring Portlet MVCのサポートはありません。 Portlet MVCのサポートを含むSpring Framework 4のサポートは、2020年まで継続されます. Spring Portlet MVCとLiferayの未来は?

解像度

Liferayは2019年3月にSpring Portlet MVCを採用し、プロジェクト名をPortletMVC4Springに改称しました。 PortletMVC4Springは、Spring FrameworkとMVCパターンを使用してポートレットベースのアプリケーションを開発するためのオープンソースプロジェクトです。

PortletMVC4Springは、Liferayに全面的にバックアップされています。 お客様は、PortletMVC4Springプロジェクトに関する問題を報告することで、サブスクリプションの特典として、問題の解決や限定的な指導を受けることができます。

PortletMVC4Springは、JDK 8+とPortlet API 3.0が必要です。 また、Spring Frameworkのバージョン5.1.xで使用するためのリファクタリングとテストが行われています。

Liferayプラットフォームへの影響

Liferay DXP 7.1 and Above
PortletMVC4Spring は、Liferay DXP 7.1 fix pack 3 以上で使用可能です。

DXP 7.2 用 PortletMVC4Spring を使ったポートレットの開発
Spring Portlet MVC から PortletMVC4Spring への移行


Liferay DXP 7.0 以下
PortletMVC4Spring は Portlet 3.0 準拠のポータルが必要です。 Spring Frameworkの旧バージョン(4.Xおよび3.X)は、Liferay DXP 7.0以下と互換性があります。 これらのバージョンのLiferayには、Spring Portlet MVCを使用する必要があります。

DXP 7.0 用 Spring MVC Portlet の作成
DXP 7.0 用 Spring MVC Portlet サンプルプロジェクト

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base