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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

課題

  • 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