Skip to content

Spring Boot update to version 3.4.0 \AppData\Roaming\Code\User\globalStorage\redhat.java\1.36.0\ not found #3895

@drakgoku

Description

@drakgoku

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:

img
img

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.

img

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
img
2 - Existing project: everything is wrong
img

What happens?

Note: I have tried:

  • deleting the "C:\Users.....gradle" folder, but rebuilding it has not solved the problem either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions