Questions tagged [spring-boot-3]
58 questions
0
votes
1 answer
When updating to springboot3.1.1, I can not import ...ElasticSearchRestHealthContributorAutoConfiguration;
When updating to springbootfrom 2 to 3.1.1, I can not import…

Lareina
- 1
- 1
- 1
0
votes
1 answer
Load apache camel routes at runtime
In the project , I've been dynamically loading Apache Camel routes during runtime.
Current environment includes Spring 2.7.4, Apache Camel 3.18.0, and JDK 17
private void fromFile(final Path filepath) throws Exception {
final byte[]…

Akhilesh Pandey
- 855
- 5
- 10
0
votes
0 answers
Non-aggressive DDL update with Spring Boot 3 / Hibernate 6.1?
With Spring Boot 2, the "update" DDL setting would create new tables, but it would not change column types and sizes, add columns, or do other fine-grained changes to the schema. With Spring Boot 3 and Hibernate 6.1, the update is much more…

Joshua Swink
- 3,380
- 3
- 29
- 27
0
votes
0 answers
How to change max header size when logout from Keycloak?
I am using Keycloak for authenticating on my spring boot 3 app. When making a request to logout, I get 431 Request Header Fields Too Large. This is not happening with normal users, just the dev users, which carry 260 Roles. I tried…

Octavia
- 198
- 1
- 13
0
votes
0 answers
migration springBoot2 to Springboot 3 from restClient to webClient
actually i'am migration from springboot 2 to 3 and i'am struggling in httpClient configuration of spring WebClient and my question is :
which http client to use ? java 17 net.httpClient , netty reactor , or could we keep apache http client .
I need…

Ares
- 71
- 1
- 10
0
votes
1 answer
Suffix Content Negotiation in Spring Boot 3?
We're currently in the process of upgrading our services to Spring Boot 3. One of them was relying on suffix-based content negotatiation (ie GET "/products/id.json" got the json, GET "/products/id.xml" the xml representation).
This was done using…

daniu
- 14,137
- 4
- 32
- 53
-1
votes
1 answer
CORS in Spring Security (Spring Boot 3)
I am currently struggling with Spring Security in my Spring Boot 3 applications. It was working in Spring Boot 2 but not since I tried to upgrade to version 3.
My authentication seems to work properly and the stuff that needs to be authenticated…

Jurn
- 796
- 1
- 8
- 19
-1
votes
0 answers
Issue wrt to CORS origin error for a springboot 3 application
While trying to call API from swagger with the addition of Aad OAuth SecurityConfig, which I use since all api get access based on the app role set in the enterprise application using SSO.
@Configuration(proxyBeanMethods = false)
…

Rohit M L
- 19
- 3
-1
votes
0 answers
I am getting error while using StringListConverter in Spring Boot 3.1
I recently upgraded my project from Spring boot 2.7 to 3.1. Hibernate and JPA are also upgraded automatically. However, after the update, I am getting this error:
java.lang.UnsupportedOperationException
at…
-1
votes
0 answers
App throws circular dependency error after upgrading to Spring 3 while compiling
I upgraded my app to the following versions;
Java 1.8 to 17
Spring Boot 2.1.18.RELEASE to 3.1.1
spring-security-core 6.1.1
Before the upgrade my codes were working fine and never giving errors. But after upgrading I am getting circular dependency…

upcycling
- 1
- 1
-1
votes
1 answer
Error creating bean with name 'dynamodbClient': Lookup method resolution failed
Java: 20.0
Springboot: 3.0.1
Dependency
software.amazon.awssdk
aws-sdk-java
2.20.115
provided
Service…

Prafulla Kumar Sahu
- 9,321
- 11
- 68
- 105
-1
votes
0 answers
java.lang.RuntimeException: java.lang.UnsupportedOperationException in com.writer.MultiFilesItemWriter
Getting java.lang.RuntimeException:
java.lang.UnsupportedOperationException in com.writer.MultiFilesItemWriter in writers.get(k).write(l); method of below code snippet after spring boot 3 migraton.
private final Map>…

Ashish Garg
- 19
- 2
-2
votes
1 answer
Caused by: java.lang.ClassNotFoundException: org.apache.hc.client5.http.classic.HttpClient
To address the same issue as here RestTemplate PATCH request in my spring-boot 3 application
org.springframework.web.client.ResourceAccessException: I/O error on PATCH request for "http://localhost:8080/people/1":Invalid HTTP method: PATCH; nested…

gstackoverflow
- 36,709
- 117
- 359
- 710