Legacy Knowledge Base
Published Jun. 30, 2025

Running gw initBundle fails at the verifyBundle task

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.

Issue

  • Running gw initBundle fails at the verifyBundle task stating an invalid checksum, even though liferay.workspace.bundle.checksum.md5 is not in use in gradle.properties. Despite setting that value explicitly in gradle.properties to match your desired bundle file, the error still persists.
    • > 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.

Environment

  • DXP 7.3, 7.4

Resolution

    1. Ensure that you are using the latest version for com.liferay.gradle.plugins.workspace
    2. Remove or empty ~/.liferay/bundles directory
    3. ran gradlew initBundle again
Did this article resolve your issue ?

Legacy Knowledge Base