Invalid checksum on - Execution failed for task ':verifyBundle'. - while running gradle initBundle

Hi,

I was hoping to start learning Liferay via “Building enterprise websites with liferay”, but pretty soon i hit the wall with the Workspace setup.

When I’m supposed to run blade server init, i get following error:

Task :verifyBundle FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:verifyBundle’.

Invalid checksum for liferay-dxp-tomcat-2025.q1.9-lts-1745471536.7z. Expected

I’ve tried to download the file defined in the material gradle.properties file, liferay.workspace.product=dxp-2025.q1.9-lts, multiple of times from all various sources I have been able to find, using browser, letting the blade server init load it, etc. No help. I even tried to download that using my personal laptop and transferred file to my work laptop, but no luck.

Yes, I always cleaned all the bundles too from the .liferay/bundles folder.

Yes, I also ran the gradlew.bat initBundle -Dliferay.workspace.refresh.liferay.releases=true to refresh the Release Metadata

I also tried various versions of gradle plugin from 12.0.0 , 13.0.2
, 14.0.0, 14.0.2. Lately keeping it in 14.0.2. in settings.gradle file, but no luck.

My Java is 21, installed according to the Liferay course’s guidelines (downloading it from here Download the Microsoft Build of OpenJDK | Microsoft Learn )
java -version
openjdk version “21.0.10” 2026-01-20 LTS
OpenJDK Runtime Environment Microsoft-13106404 (build 21.0.10+7-LTS)
OpenJDK 64-Bit Server VM Microsoft-13106404 (build 21.0.10+7-LTS, mixed mode, sharing)

My gradle wrapper version has stayed the same (the given version defined in the project after cloning repo based on Liferay course instructions:)
-distributionUrl=https://services.gradle.org/distributions/gradle-8.5-bin.zip

At the moment I’m running out of ideas how to be able to solve this.

According to windows explorer, the sizes of previous two downloads are following

885 MB (928 899 072 bytes)
877 MB (919 678 976 bytes)

so that may be something strange as common sense tells me the file size should be always the same. But I have already downloaded and transferred the file about 20 times so clearly re-download is not the solution here.

https://discuss.liferay.com/t/invalid-checksum-error-when-dowloading-liferay-bundles/289 - Its a know bug, but its not fixed yet

Thanks, I actually noticed that thread while I was investigating the problem. I just did not see a solution there. Except now that I took a second look, I noticed the very last comment, that i did not see last time as it had to be specifically opened from the end, and I can see this :"Yes same error, I think that now to download these resource we Need a faster and more stable Internet Speed. Anyway I downloaded the resource after many many retries". So only solution seems to be a retry, but at least first 20 someting tries did not help with me.... and each retry takes about 5 minutes ...

I have the error again. I think its the way the files are hosted in Liferay servers...

1 Answer

1

Hey there, Ville! Was the issue fixed for you? Did you encounter the errors you mentioned again?

Looks like the problem got solved today after I had a chance to use a different, slightly faster, internet connection. I just have never ever had any similar problems when downloading, despite being a heavy Internet user for decades and after downloading thousands of packages from thousands of various platforms, so it definitely never occured my mind that this could have have absolutely anything to do with my internet connection, as even the most recent connection has been rock solid for almost a decade now.

Today I encountered again the error... the zip file downloads stop before @Claudio_Souza