Legacy Knowledge Base
公開されました Jun. 30, 2025

gw initBundleを実行すると、verifyBundleタスクで失敗します。

Written By

Marco Abamonga

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.checksum.md5が使用されていないにもかかわらず、gw initBundleを実行すると、verifyBundleタスクでチェックサムが無効であるとして失敗します。 その値をgradle.propertiesで明示的に設定し、希望するバンドルファイルと一致させたにもかかわらず、エラーはまだ続いています。
    • > Task :verifyBundle FAILED
      FAILURE: Build failed with an exception.

      * What went wrong:
      Execution failed for task ':verifyBundle'.
      > Invalid checksum for file 'liferay-dxp-tomcat-7.3.10.u20-20230201145854021.tar.gz'. Expected 4b2h01628e242cc9727behf70a8b532z but got 231za126n30a7421h24dwn212hew612k.

環境

  • DXP 7.3、7.4

解像度

    1. com.liferay.gradle.plugins.workspaceの 最新バージョン を使用していることを確認してください。
    2. ~/.liferay/bundlesディレクトリを削除または空にする
    3. 再びgradlew initBundleを実行した。
Did this article resolve your issue ?

Legacy Knowledge Base