Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
54 views

I created a proyect from https://start.spring.io/ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:/...
Andrés Pedro Gonzales Rojas's user avatar
0 votes
0 answers
36 views

I'm trying to run a job using Spring Batch 5 using h2 embeded db but i continue having a problem. Seems the spring batch h2 databse script isn't loaded. This is my configuration class: package ****....
Removed's user avatar
0 votes
1 answer
62 views

I have a large Spring Boot application with an extensive test suite (unit tests + controller tests). After introducing a new HandlerInterceptor, many of my previously passing tests started failing. ...
Feel free's user avatar
  • 1,121
1 vote
1 answer
28 views

Spring Security 7.0 introduces Jackson 3 support and in this new version of jackson lib, only Spring Security types are allowed by default in default PolymorphicTypeValidator . The spring doc gives us ...
islam lahouar's user avatar
0 votes
1 answer
53 views

I have my application in spring boot 3.1.4 and using okta for authentication. I want to upgrade to spring-boot to 3.5.8. I am able to launch the application for the first time. During first logout, ...
AAPJ's user avatar
  • 49
0 votes
0 answers
24 views

I am developing a Spring Boot application using JWT authentication. When an access token is expired, the backend should return: HTTP status: 401 JSON error body, for example: { "statusCode&...
oijwef098234's user avatar
0 votes
1 answer
75 views

I'm migrating code from spring boot 2.7.5 to 3.5.8. Before the migration everything worked fine Here is my internal security configuration in my library @Configuration @EnableWebSecurity @...
Andrey Antonov's user avatar
1 vote
0 answers
43 views

I'm building a Spring server program which uses a PostgreSQL database. For one of the table columns, I want to restrict the possible values to a static pre-defined set, so I created a PostgreSQL enum ...
Gustav Blaß's user avatar
1 vote
1 answer
69 views

Is it possible to lost increment here? If not, is it possible in case of read_commited level? @Transactional public updateProductStatistics(Long productId) { ProductStats stats = ...
J.J. Beam's user avatar
  • 3,183
Best practices
0 votes
2 replies
43 views

Suppose that I have two classes that differ only in terms of their @Value "values" on their fields. For example: @Component public class BlueWidget { @Value("${blue.message}") ...
Gus Murphy's user avatar
1 vote
1 answer
31 views

I am working on a service that uses Spring Data Couchbase and I have an entity that maps some of the fields of a document and I need all the other fields to be mapped to a Map<String, Object>. I ...
Mauro Monti's user avatar
  • 1,110
0 votes
1 answer
82 views

With Spring 6 I use a @RestControllerAdvice on a class extending AbstractMappingJacksonResponseBodyAdvice . This class injects a SimpleFilterProvider in the MappingJacksonValue provided by the ...
Adrien's user avatar
  • 1
2 votes
0 answers
72 views

I am in the process of migrating one of our application to Spring Boot 4.0.0. One of the changes I tried to incorporate is using the RestClient. Code-wise all the changes are fine and everything is ...
user3078515's user avatar
Best practices
0 votes
0 replies
20 views

rn i'm making a test project in Spring framework for applying for an internship at a company. They requested to implement a simple bankcard managment system that "common" users and admins (...
cranium's user avatar
Tooling
0 votes
2 replies
46 views

I recently upgraded my project to Spring Boot 4, and I found that Spring Cloud Sleuth has been completely removed from the Spring ecosystem. Previously, I used Sleuth + Zipkin for distributed tracing, ...
Rajitha Bandara's user avatar

15 30 50 per page
1
2 3 4 5
14194