legacy-knowledge-base
公開されました Jun. 30, 2025

ログにRuntimeExceptionがスローされる

written-by

Laura Li

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

問題

  • 最新のデプロイ後、ログに次のようなエラーが表示された:
    java.lang.RuntimeException: Current portal schema version 26.4.0 requires a newer version of Liferay

環境

  • Liferay DXP 7.4
  • LXC-SM

解像度

  • このエラーはデータベースに関連している。 この現象は、Liferayの上位バージョンのデータを持つデータベースに、同じデータベースをLiferayの下位バージョンに接続しようとした場合によく起こります。 このシナリオでは、Liferayは以前より高いバージョンで動作していましたが、build-xyzではLiferayのバージョンが下がっています。 Liferayのバージョンを上げるか、前回成功したデプロイメントで使用したバージョンを使用するようにしてください。

did-this-article-resolve-your-issue

legacy-knowledge-base