Questions tagged [spring-boot-3]
Use this tag for questions that are specifically about version 3.x of Spring Boot. For example, this tag can be used for migrations from Spring Boot 2.x to 3.x or concepts that are new to Spring Boot 3.x. Spring Boot 3 comes with Spring Framework 6.
spring-boot-3
263
questions
1
vote
0
answers
23
views
spring boot 3 UUID generation issue
We were using Spring Boot 1.5.6 and Java8 and recently we upgraded to Spring Boot 3.1.6 and Java 17. While we are testing that, we are facing a weird issue of reference UUID creation
Entity ...
-1
votes
0
answers
33
views
Memory issues after upgrade to Spring boot 3, Java 17 [closed]
We recently upgraded our application from Spring boot 2.2, Java 11 to Spring boot 3.2 Java 17. After the upgrade we observed that the memory progressively increases and then goes down to zero and it ...
0
votes
0
answers
13
views
Log Springboot 3.3.1 applications logs in Azure application Insight
I need to store the all the application logs to azure applications insights. Im using springboot3.3.1 and Jdk 17 version. I tried whatever there in azure documentation but still its not working
0
votes
0
answers
11
views
Modify ClassPath for ResourceDocumentSource
I have a Java 21 Spring Boot 3.3.1 application. It is an MVC app. The application sends out several different GraphQL requests, and I currently have the template files located in:
src
|- main
|- ...
0
votes
0
answers
25
views
Spring Boot: Merging LDAP and Local Authentication with Conditional Form Login
I am developing a Spring Boot application that requires interfacing with an LDAP server for Role-Based Access Control (RBAC) authentication. Additionally, when the LDAP server is unavailable, the ...
0
votes
0
answers
14
views
Implement Task execution with a timespan with Springboot 3, Java 17
I am looking for small design implementation suggestion
At some point in my existing REST endpoint
SERVICE_1 calls another service SERVICE_2 for a task(say TASK_1), that call takes about 5 minutes ...
0
votes
0
answers
19
views
How to implement Spring boot 3 webflux switchuserwebfilter
I am trying to implement switchuserwebfilter to impersonate different user in a stateless webflux app using jwt bearer token
0
votes
0
answers
27
views
SSLHandshakeException Exception in Springboot 3 and java-21 migration
I am migrating to Java 21 and Spring Boot 3. Everything is working fine, but I'm unable to call an external API due to an SSLHandshakeException.
Service Param:
EnvironmentFile=/var/www/xxx-xxxx-XXXx/...
0
votes
0
answers
21
views
Java 21 Spring Boot 3.3.1 How to get GraphQlTester to use main/resources/graphql-documents/
I have a Java 21 Spring Boot 3.3.1 application. I have several GraphQL APIs, and I also need to send several GraphQL requests to other services. I also have GraphQlTester tests. However, I have ...
0
votes
0
answers
14
views
How to use context-path in spring cloud gateway to forward requests?
Have microservice1 to microservice10 , Eureka and Gateway service. All the services registered in Eureka dashboard.
Use following property in gateway to forward requests to corresponding microservice.
...
0
votes
0
answers
30
views
spring batch 5: how to NOT use the datasource?
I am migrating my spring boot spring batch application from spring batch 4.x to 5.1.1 (this is part of spring boot 2.7.18 to 3.2.4 migration).
In our batch application we do not use any spring batch ...
0
votes
0
answers
17
views
map the same entity to different tables dynamically
I was working on a project recently where I hit a peculiar problem. The problem was I wanted to map the same entity to different tables dynamically. In my case, I am using oracle.
I need to use JPA ...
0
votes
1
answer
29
views
Two different SecuritFilterChain with two different JwtDecoder with different paths spring boot 3.2.x
I am wondering that am I able to use two different jwt token value for different paths.
My code block is:
@Order(1)
@Bean
SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
...
0
votes
0
answers
33
views
I'm migrating saml2 from springboot 3. An error occurs in the service provider's Saml2MetadataFilter. Has the format changed?
i am try
Saml2MetadataFilter filter = new Saml2MetadataFilter( (RelyingPartyRegistrationResolver) relyingPartyRegistrationResolver,
new OpenSamlMetadataResolver());
or
...
0
votes
1
answer
153
views
How to configure your security config class in springboot 3.1.2 so that filter applies only to specific apis?
I am trying to migrate from Springboot 2.7 to Springboot 3.1.2 . I am trying to configure my security config class. This is my class
@Bean
public SecurityFilterChain filterChain(...