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

モジュール com.liferay.dynamic.data.mapping.service のアップグレード処理に失敗しました - ネストされた例外です:Prolog でコンテンツが許可されていません。

written-by

Csilla Novak

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

問題

  • Liferay DXP 7.1へのアップグレードが成功したように見えるが、DXPバンドルの起動時に以下のエラーがログに表示される:
Failed upgrade process for module com.liferay.dynamic.data.mapping.service 
com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.exception.PortalException: com.liferay.portal.kernel.xml.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.

環境

  • Liferay Portal 6.2からLiferay DXP 7.1へアップグレードする。

解決策

  • すでに変換された文書型をJSONに変換しようとするため、「prolog」例外が発生することがあります。

  • データベーステーブルDDMStructureをダブルチェックします。
    • StorageTypeがxmlのままであれば(個々の構造体はすでにjsonに変換可能)、StorageTypeの列をjsonに変更すれば、ポータルを正常に起動できる。
did-this-article-resolve-your-issue

legacy-knowledge-base