Disabling bucket4j via the property bucket4j.enabled=false results in a missing bean Bucket4JBootProperties and a start-up crash.
It can be reproduced with the example CaffeineApplication
disable bucket4j in the application.yml
start the CaffeineApplication example
CaffeineApplication - Spring Boot 3.2.3 output
Description:
Parameter 1 of constructor in com.giffing.bucket4j.spring.boot.starter.config.cache.jcache.JCacheBucket4jConfiguration required a bean of type 'com.giffing.bucket4j.spring.boot.starter.context.properties.Bucket4JBootProperties' that could not be found.
The injection point has the following annotations:
- @jakarta.annotation.Nullable()
Action:
Consider defining a bean of type 'com.giffing.bucket4j.spring.boot.starter.context.properties.Bucket4JBootProperties' in your configuration.
Disabling bucket4j via the property
bucket4j.enabled=false
results in a missing bean Bucket4JBootProperties and a start-up crash.It can be reproduced with the example CaffeineApplication
CaffeineApplication - Spring Boot 3.2.3 output
The last working version for us is
0.10.1
Thanks!