Code Monkey home page Code Monkey logo

Comments (4)

jkuipers avatar jkuipers commented on August 24, 2024 1

I just tested that as a workaround, you can add this line to your gradle.properties:

org.gradle.jvmargs=--add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED

from spring-boot.

WeisSeb avatar WeisSeb commented on August 24, 2024

Seeing the same problem with Boot 3.2.6 and 3.3.0. Earlier versions do not have this issue.
This seems to come down to BuildInfoProperties using the SingletonSupplier of springframework.spring-core. Boot 3.2.5 comes with Spring Framework 6.1.6 where the SingletonSupplier does not have the writeLock field. Boot 3.2.6 and 3.3.0 use Spring Framework 6.1.8 where the afformentioned field exists in SingletonSupplier

Removing the buildInfo configuration or disabling the configuration cache is currently a workaround for us, but not really an optimal solution

EDIT: Boot 3.2.5 comes with Spring Framework 6.1.6 where SingletonSupplier.writeLock exists, however spring-boot-gradle-plugin:3.2.5 comes with springframework.spring-core:6.0.10 where SingletonSupplier.writeLock does not exist

from spring-boot.

quaff avatar quaff commented on August 24, 2024

I think it should be handled at Gradle side.

from spring-boot.

wilkinsona avatar wilkinsona commented on August 24, 2024

Thanks, @jkuipers, and apologies for the regression. This is an unanticipated side-effect of #40074. You can also work around the problem by using Gradle 8.6 or earlier.

from spring-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.