Comments (4)
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.
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.
I think it should be handled at Gradle side.
from spring-boot.
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)
- Polish code to use 'switch' instead of 'if', remove unessary unboxing and redundant cast
- Replace lambda with method reference
- AOT causes Logback configuration error when using include HOT 2
- DataSourceProperties fail to bind if java.sql module isn't included HOT 9
- DataSourceProperties fail to bind if java.sql module isn't included
- Custom actuator endpoint doesn't work after upgrading to Spring Boot 3.0.0 HOT 2
- Add Support for --project-name Option in Docker Compose HOT 3
- restTemplate.exchange have exception "insufficient data written" with springboot 3.3 HOT 1
- restTemplate.exchange have exception "insufficient data written" with springboot 3.3 HOT 1
- RuntimeHintsRegistrar types should be created dynamically HOT 3
- Image building requires builder to specify a stack
- spring-boot-starter-parent:3.3.0 java 22 threads.virtual NOT WORKING HOT 7
- Switch to Tomcat's new setter to set the maximum queue size
- java.lang.NoClassDefFoundError: org.apache.commons.collections.FastHashMap HOT 1
- Upgrade to Hibernate 6.4.9.Final
- Upgrade to Infinispan 14.0.29.Final
- Service connection for bitnami mongodb fails to connect
- Use organization level CODE_OF_CONDUCT
- `:` characters are removed from `application.yaml` keys in mapped values when using `@ConfigurationProperties` HOT 3
- @EnableConfigurationProperties not work as expected when added in parent class
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.