Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
60 views

I just want to get my custom message in Swagger response (not just "Bad Request") @RestController @RequestMapping @RequiredArgsConstructor public class GenUrlController { private final ...
0 votes
1 answer
133 views

I recently upgraded to Spring Boot 3.5 (Jakarta packages) and noticed my global exception handler isn’t being triggered. @RestController public class UserController { @GetMapping("/test")...
1 vote
0 answers
77 views

I use Spring Boot 3.3.4 and Java 21. I have several Spring Boot web application that use the same common library : App1 App2 App3 Common In this common library, I have a @RestController used to ...
1 vote
1 answer
68 views

With the use spring boot 3.4.7 noticing a below change We have a pojo with lomobok annoatiaon import org.springframework.validation.annotation.Validated; @Builder @Validated public record AppState( ...
0 votes
1 answer
70 views

I am having trouble binding custom key and value map after migrating to 6.x where binder.getTarget() comes out to be null. I debugged and it turnes out binder target is set later point of time. Is ...
2 votes
0 answers
41 views

I am integrating Neo4j into my JHipster 8.5.0 / Spring Boot 3.3.0 application. I have configured a Neo4jConfig with a Driver bean, a Neo4jService to send Cypher statements, and a REST endpoint /api/...
0 votes
0 answers
78 views

I have a Restcontroller with a parameter with a LocalDate like this: @RequestParam @Schema(requiredMode = REQUIRED) @NonNull final LocalDate startDate When calling the endpoint with a Swedish ...
0 votes
1 answer
47 views

We are getting a request from 3rd part and in our logs the body is printed like this "body":"Response=%7B%22TransactionType%22%3A1%2C%22Approved%22%3Afalse%2C%22TransactionIdentifier%22%...
1 vote
0 answers
23 views

I am working through the Amazon Junior Dev Certificate on Coursera and finishing up the course on Spring Boot APIs. The current lab I am working on is requiring me to write unit tests for a ...
0 votes
1 answer
163 views

I have a Spring Boot REST API, and it works perfectly when tested via Postman—all HTTP methods function as expected. However, when I try to interact with the API from the client-side application, I ...
0 votes
0 answers
79 views

I am switching to Java/Spring from another development stack and I am very confused about how in Spring some things are done. One of the issues is the magical conversion of request body parameters ...
0 votes
2 answers
52 views

I have a Restcontroller with 4 methods, but I can't use the calls, I always get the error: "message": "No static resource api/corp.", I need method with string like: localhost:...
1 vote
2 answers
265 views

I am checking examples of Htmx + Spring. All examples use server-side template engines ( like Thymeleaf or Jte). Htmx expects an HTML response from Spring, but Nowadays, most Spring applications ...
0 votes
1 answer
446 views

We have a REST controller with a HEAD method but no GET method. We don't want the client to be able to retrieve the resource, but we do want them to be able to know whether it exists and how big it is....
1 vote
3 answers
113 views

I’m working on a Spring Boot application, and I’m having trouble getting my controller to register correctly. When I try to POST data to the /student/add endpoint, I receive a 404 error, indicating ...

15 30 50 per page
1
2 3 4 5
...
108

AltStyle によって変換されたページ (->オリジナル) /