legacy-knowledge-base
公開されました Jul. 2, 2025

Liferayバンドルの初期化時の無効なチェックサムエラー

written-by

Katlyn Lee

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

課題

  • gradle.properties ファイルで liferay.workspace.bundle.url プロパティを定義した後、バンドルを初期化するために Gradle Task を実行すると、以下のエラーで失敗します。

    Execution failed for task ':verifyBundle'.
    > Invalid checksum for file '{liferay-bundle-file}'.
    Expected {checksum value} but got {another checksum value}.

環境

  • 開発スタジオ

解像度

  • ユーザーが liferay.workspace.bundle.url プロパティを使ってLiferayバンドルのURLを指定する際に、以下のプロパティを使ってバンドルのチェックサムMD5値も指定する必要があります。 liferay.workspace.bundle.checksum.md5 = {checksum value}です。

  • ユーザーは以下の方法で、バンドルのチェックサムMD5値を確認できます。

    • エラーメッセージに記載されている「期待される」チェックサム値を使用します。

    • バンドルのダウンロード後、以下のコマンドを実行します。 md5sum ${filename}となります。

did-this-article-resolve-your-issue

legacy-knowledge-base