-
Notifications
You must be signed in to change notification settings - Fork 510
Description
I just updated my spring boot parent project in build.gradle.kts from 3.3.5 to 3.4.0 and I get this error in red:
Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.8-bin.zip'. The specified initialization script 'C:\Users\...\AppData\Roaming\Code\User\globalStorage\redhat.java\1.36.0\config_win\org.eclipse.osgi\58\0\.cp\gradle\init\init.gradle' does not exist.Java(0)
I can compile fine and do a clean "./gradlew clean build".
So I decided to update the gradle:
./gradlew wrapper --gradle-version 8.11.1" in the parent project.
Still giving me the same error.
Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.11.1-bin.zip'.The specified initialization script 'C:\Users\...\AppData\Roaming\Code\User\globalStorage\redhat.java\1.36.0\config_win\org.eclipse.osgi\58\0\.cp\gradle\init\init.gradle' does not exist.Java(0)
I can still compile fine and do a clean "./gradlew clean build".
What's going on? I don't have that document you're asking for and I don't know what it is. What there is is a version "1.37.0" but not a 1.36. Although I repeat, I have no idea what these config files are.
When I download a "new project from spring init", the spring boot version 3.4.0 and gradle 8.11.1 work correctly.
1 - New project: everything is fine
2 - Existing project: everything is wrong
What happens?
Note: I have tried:
- deleting the "C:\Users.....gradle" folder, but rebuilding it has not solved the problem either.



