150,515 questions
-2
votes
0
answers
30
views
Spring Boot 4 + IntelliJ 2025: ClassNotFoundException for PfeApplication [closed]
Error: Could not find or load main class com.backend.PFE.PfeApplication
Caused by: java.lang.ClassNotFoundException: com.backend.PFE.PfeApplication
Class PfeApplication is located in src/main/java/...
Best practices
3
votes
1
replies
46
views
How to think the organisation of a Java Spring-Boot multi-module project in a clean architecture? I'd like to redispatch/reforge an hexagonal one
My context
I have a large Java Spring-Boot project that have fitted in an hexagonal architecture. It is focused on cities and local authorities problematic, and study various subjects: cities, ...
-4
votes
0
answers
28
views
Spring batching rollback issue [closed]
I have a do data migration using spring batching
And created a processor of 10 steps in which first 3 steps are api calls that create the new txn in the system with the data from the source
But if ...
-2
votes
0
answers
34
views
Pbme in Maven project building
I'm struggling to build my Maven Spring Boot project. Every time I run mvn clean install (or in my IDE), I get the following error:
Could not resolve dependency: org.codehaus.plexus:plexus-utils:jar:4....
3
votes
1
answer
57
views
Spring Boot ConfigurationPropertiesBinding for ImmutableMap
I'm trying to add support for @ConfigurationProperties records to use Guava's immutable types directly. I already have ImmutableSet and ImmutableList working via a Converter<List<?>, ...
-4
votes
0
answers
71
views
ClamAV INSTREAM scan from Java returns OK for file containing EICAR signature [closed]
I am integrating ClamAV scanning into a Spring Boot application to validate uploaded files before storing them. The application streams file bytes to the clamd daemon using the INSTREAM command via a ...
1
vote
2
answers
87
views
Spring Boot 3: MDC and SecurityContext propagation failing when using Virtual Threads (Executor)
I am migrating a Spring Boot 3.x application to use Java Virtual Threads. I have replaced my standard async executor with a virtual thread executor:
@Bean
public Executor taskExecutor() {
return ...
4
votes
0
answers
68
views
+50
Hibernate Cache causing OOM. Cache not showing (deleted) entities that are cached
I solved my Problem. I just dont really understand why Hibernate ist not showing its cache entries.
I had the following representation that caused an OOM in my service while deleting lots of Entities.
...
0
votes
1
answer
51
views
Spring Boot + Auth0: Health endpoint returns 401 on Azure App Service but works locally even though path is excluded from SecurityFilterChain
I'm implementing authentication with Auth0 in a Spring Boot application using the OAuth2 resource server.
Everything works correctly locally, but after deploying to Azure App Service, I cannot access ...
-4
votes
0
answers
57
views
Junie declares: "Spring Boot 4 isn't released yet, I will use the last stable version 3.4.3". But Spring Boot 4 is released for months [closed]
On a context.md file, I specify willing Spring Boot 4.0.3 for API:
# Contexte du Projet - beaufort-brise
## Description Générale
- **Nom** : beaufort-brise
- **Objectif** : Projet en cours de ...
0
votes
1
answer
65
views
Spring-core 7 does not support ExceptionCauseClassifierRetryPolicy
How to specify different retry policy for different exceptions in Spring-core 7 with Spring-rabbit-4.0.x and Spring-retry-2.0.12.
Something like below was possible in Spring-core 6 and below.
final ...
5
votes
1
answer
133
views
Error with symbol not found: "Method onConstructor_()"
Consider:
@AllArgsConstructor(onConstructor_ = @Autowired)
I used this @AllArgsConstructor Lombok annotation in my class repository during Spring Boot work.
cannot find symbol
symbol: method ...
Tooling
0
votes
1
replies
76
views
Spring boot structured logging issue
Current spring implementation of structured logging with ECS format creates object "service" with fields:
name, version, environment, node
I would like to add field "id" to the ...
Advice
0
votes
2
replies
63
views
Need help in developing Multi-user Blog platform using java full stack
I need help designing a Multi-User Blog Platform using Spring Boot and React or with HTML, CSS, and JavaScript. What basic modules should I implement?
What should be my first step to start the project?...
-1
votes
0
answers
33
views
Enable logger under base path for management endpoints
Im using spring boot 3.5.x, and have configured the following:
management.endpoints.web.exposure.include=info,health,metrics,loggers
management.endpoints.web.base-path=/
and my security config:
....