Skip to main content
The 2026 Annual Developer Survey Results Site is live— view the results here!

Question list filters

Filter by
Sorted by
Tagged with
Score of 1
1 answer
71 views

I am integrating a third-party OAuth2 Authorization Code provider with a Spring Security + Spring Authorization Server based application. The provider supports only OAuth2 Authorization Code Flow and ...
Score of 1
1 answer
89 views

I am implementing a messaging solution using Spring Boot and RabbitMQ where our primary requirement is high availability and message safety. Because of this, our goal is to ensure that all queues are ...
Score of 1
1 answer
113 views

I'm using Spring Boot 3 / Spring Security 6 with JPA. My JWT contains only the user's email. On every request, my filter loads the User entity from the DB and puts it in the SecurityContext: String ...
Score of 1
1 answer
203 views

(This question is a bit of a special case of other, but similar, questions. As the accepted answer shows, the solution here is related to configuration of the boot-gradle task/plugin, not a question ...
Score of 3
3 answers
228 views

My Spring Boot service calls another API to start an operation that can take a few minutes: My service -> POST /operations -> Provider Normally the provider returns an operationId which I store ...
Score of 0
1 answer
91 views

My project is build on Springboot 4, with JpaRepositories on Hibernate 7 I need to create a REST endpoint that will return a structure that is modeled like this on OpenAPI: openapi: 3.2.0 info: ...
Score of 2
2 answers
102 views

I have several JUnit 5 integration tests extending one base class. The base declares @SpringBootTest, but Spring appears to start multiple application contexts. @SpringBootTest(classes = ...
Score of -2
1 answer
147 views

I'm building an e-commerce backend in Spring Boot with Spring Security. Currently I have a single User entity that implements UserDetails, used for both customers and staff (admins/managers/employees),...
Score of 2
2 answers
180 views

I'm working on a Spring Boot service that provisions PostgreSQL clusters through a cloud provider's API. The provider's API is asynchronous, so my endpoint roughly works like this: POST /clusters ...
Score of 0
3 answers
183 views

Here is the App.jsx, all the packages are installed: import React, { useState, useEffect, useRef } from 'react'; import SockJS from 'sockjs-client'; import { Client } from '@stomp/stompjs'; function ...
Score of 0
1 answer
87 views

I wonder where I should put SPRING_APPLICATION_JSON to be loaded when used with @SpringBootTest? I originally thought that I could put a file spring.application.json into test resources, but this is ...
Score of 1
1 answer
107 views

I've received an OpenAPI specification that has rules for the format a date-time can have, regarding milliseconds or microseconds precision especially. I.e. I have this definition for a date-time ...
Score of 5
1 answer
222 views

With the native retry support in Spring Boot 4 / Spring Framework, org.springframework.core.retry.RetryPolicy uses a simplified method signature: public interface RetryPolicy { boolean shouldRetry(...
Score of 4
2 answers
158 views

I have a Spring Boot application that I customize through external properties files. During Maven's pre-integration-test, I launch three instances of it, through org.springframework.boot:spring-boot-...
Score of 0
0 answers
78 views

I am writing my own Spring Boot Auto-configuration here https://github.com/moonclipse/raygun-spring-boot. The starter has optional spring-mvc and spring-ws integration. I write it using Gradle's ...

15 30 50 per page
1
2 3 4 5
…
10015