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

learn-legacy-article-disclaimer-text

問題

  • 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