263 questions
0 votes
0 answers
44 views
Swagger in springboot3- No API Definition Provided
I have a spring boot 3 application and I have added springdoc-openapi dependency ie <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-...
1 vote
1 answer
100 views
IllegalStateException: CDI is not available
I have a JSF application which I'm rebuidung to using JoinFaces and Spring Boot 3 The dependencies I'm using are: jsf-spring-boot-starter version 5.3.13 jakarta.faces:jakarta.faces-api version 4.0.1 ...
1 vote
1 answer
32 views
Looking for a correct way to validate mssql Query
public Mono<String> queryValidation(String connectionId, String query) { return connectionConfigRepository.findByConnectionId(connectionId) .switchIfEmpty(Mono.error(new ...
0 votes
0 answers
115 views
Failed to send metrics to datadog: Payload too big
I'm using Micrometer 1.12.13 in a Spring Boot 3 project, with spring boot auto configured DatadogMeterRegistry to export metrics. My code looks like this: MeterRegistry.counter("metric-name",...
0 votes
1 answer
166 views
How to efficiently poll REST API Java/Spring Boot?
Currenlty I'm developing an application to automate database backup and restore operations. We are dealing with different types of databases, but one of them is MongoDb. Our MongoDb are hosted by ...
0 votes
0 answers
52 views
springboot3.2.5 restclient occasionally delays about 3 seconds
When I use springboot3.2.5 restclient to call an API, occasionally there is a gap of about 3 seconds from the time the request is sent to the time the request is received by the receiver.This is the ...
1 vote
1 answer
111 views
Spring Boot 3 upgrade causes NoSuchMethodError for ClientHttpResponse.getStatusCode() — how to support legacy Spring Boot 2 libraries?
I'm upgrading my main application from Spring Boot 2.x to 3.x. The upgrade is mostly successful, except for a runtime compatibility issue caused by 3rd-party or legacy internal libraries that still ...
0 votes
0 answers
194 views
Lombok and Mapstruct are not working after migrating to Spring boot 3.4.2 version
I have recently migrated the project to Java 17 and SpringBoot 3.4.1 version. I have updated the libraries version to compatible ones but still i get error on the execution. Here is my annotation ...
0 votes
1 answer
130 views
How to get AxiomSoapMessage in spring ws 4.0.8
I upgrade the Spring Boot version from 2.7 to 3.4.2, Spring WS version to 4.0.8. I found the axiom package was removed from org.springframework.ws.soap, how can I get AxiomSoapMessage from ...
1 vote
1 answer
178 views
Spring boot upgrade DB2 connection Warning
I am working on upgrading a Spring boot app from 1.5. to 3.4. The App is connected to IBM Iseries Db2 database, while upgrading running the app though Im able to connect to the database I am getting ...
0 votes
0 answers
26 views
Few groovy tests are failing with the error - org.springframework.web.servlet.NoHandlerFoundException: No endpoint POST
I recently migrated to Java 17 and Spring 6.1x version. Few of the endpoints in my application have the URL as "/test/PL/". The groovy tests for the above endpoint fails with the error as ...
0 votes
2 answers
515 views
TraceId not propagating from Spring boot 3 Application to Springboot2 Application
I have recently migrated one application to Spring boot 3. I have added micrometer tracing and other dependencies. The Application calls API from other Spring boot 2 Applications. The problem is the ...
0 votes
0 answers
83 views
Crnk alternate for spring boot 3
I am working on a project which has spring boot 2.7 . We are planning to migrate it to spring boot 3. Our current project uses CRNK as the json api specification implementation. Since CRNK is not ...
0 votes
1 answer
201 views
Unable to Autowire JavaMailSender in Spring Boot 3.4.4 with Java 21 and MailDev
I'm currently working on a Spring Boot 3.4.4 application using Java 21. I'm trying to send emails using JavaMailSender, and I have MailDev running locally for development. However, I'm facing this ...
2 votes
2 answers
89 views
Cross Origin error when correct domain is listed in the origin list
This is the error I am currently facing. Access to fetch at 'https://sample.company.com/api' from origin 'https://www.company.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' ...