spring-autoconfiguration Questions

3

Recently we upgraded spring-boot version to 2.7.2 and spring framework version to 5.3.22. Since then we are seeing this error in one of the apps "required a bean of type 'io.micrometer.core.in...
Fingering asked 24/8, 2022 at 11:51

2

Solved

We are upgrading our existing Spring Boot (1.5) application to 2.0.0. We connect with multiple databases and use the org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder class. I added t...

1

Solved

I'm using @ConfigurationProperties annotation to auto-config my properties. Before my config class was working fine, but I tried to achieve the same thing with records and just fails. I was followi...
Performing asked 23/11, 2021 at 11:24

1

Solved

What does the following setting in application.properties in a Spring application do? server.error.include-binding-errors=on-param I can't find it in the documentation. The always and never values...
Benjie asked 10/6, 2021 at 13:44

1

Solved

I am using JDBI in tandem with Spring Boot. I followed this guide which results in having to create a class: JdbiConfig in which, for every dao wanted in the application context, you must add: @Be...
Kissable asked 30/4, 2020 at 15:18

1

Solved

In Spring Boot's documentation it is clearly stated that auto-configurations must be specified via the spring.factories file: Auto-configurations must be loaded that way only. Make sure that they ...

2

Solved

I'm trying to write my own @Enable annotation for Spring framework, which should be used as follows: package com.example.package.app; @SpringBootApplication @com.example.annotations.EnableCustom(...
1

© 2022 - 2024 — McMap. All rights reserved.