All Questions
Tagged with spring spring-boot
54,396
questions
0
votes
0
answers
6
views
Springboot2 and custom refreshable resolver
I am working on a springboot 2.7 service and trying to understand how to use custom placeholders like ${key} vs $%key% or similar. I am not stuck on using a custom placeholder, but I also need to ...
0
votes
0
answers
10
views
When i am. trying to run spring intializr using ./mvnw spring-boot:run. it showing the error
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.3.2:run (default-cli) on project initializr: Unable to find a suitable main class, please add a 'mainClass' property -...
0
votes
1
answer
19
views
Kafka offset incrementing after 10 attempts in Spring boot
We have spring boot application to consume the messages from Kafka and put into DB.
We dont want any error handling to be performed in the application if any exception occurs (like DB down etc) ...
0
votes
0
answers
10
views
Why is a Thread-Scoped Bean Injected Instead of a Default-Scoped Bean in Spring Boot?
I recently made a change to my Spring Boot project. I initially had a bean without a specific scope. Due to an implementation that uses threads and the occurrence of concurrency issues, I needed to ...
0
votes
1
answer
14
views
Swagger UI doos not show Authenticate button in Spring Boot
I am using Swagger UI to test apis for Spring Boot on mac. However, the authenticate button does not show up so that I can put JWT token for authentication. How can I solve this issue?
I searched the ...
-1
votes
0
answers
20
views
Why SftpSession from spring-integration-sftp (Spring Boot 3.3.2 ) not able to find folder with relative path over SFTP?
I am migrating a spring boot application from V2.7.18 to V3.3.2 which connects to remote server to perform SFTP operations. The application is able to make SFTP connection post migration, but it is ...
0
votes
1
answer
44
views
Invalid bean definition is defined in class path resource as there is already a Generic bean
I am trying to convert a spring application to springboot application. The application runs fine when I run it using the intellij GUI, but if i use the terminal and try to run it by java -cp command ...
-2
votes
0
answers
11
views
How to Implement Configurable Grading Grids in a PFE Dashboard
I'm working on a project for managing grades and evaluation grids for students in PFE internships. The goal is to allow the director of stage services to modify the evaluation grids and grading ...
0
votes
0
answers
15
views
Spring Shell not running interactive mode windows 11 - Unable to create a system terminal, creating a dumb terminal
I'have created simple SpringShell app (java 21 and maven) using spring initializr and created class HelloCommand.java.
While running app in IntelliJ IDEA I'm occurring a warning Unable to create a ...
0
votes
2
answers
23
views
Is it possible to expose multiple GraphQL endpoints in one spring boot application?
Does Spring support exposing multiple GraphQL endpoints and having separate schemas for those endpoints?
I found nothing about it in the documentation. I know that Spring supports multiple schemas, ...
0
votes
0
answers
21
views
How to apply ant_path_matcher on Spring Cloud Gateway MVC?
I'm migrating from zuul gateway to Spring Cloud Gateway MVC.
But I knew that no more patterns like "/foo/**/bar/**" is allowed since ant_path_mathcer is deprecated.
And I want to keep ...
0
votes
2
answers
35
views
Generate access tokens after successful social login with Google
I am implementing a spring authorization server with Spring Security 6. Simple authentication of users registered in a local database is already implemented and generating access tokens perfectly.
I ...
1
vote
0
answers
34
views
Sprintboot Opentelemetry with spring-boot-starter Error
I am trying to enable opentelemetry leveraging sprint-boot-starter. I added io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter to the build.gradle file. However, the application throws ...
0
votes
0
answers
13
views
How to implement Spring boot 3 webflux switchuserwebfilter
I am trying to implement switchuserwebfilter to impersonate different user in a stateless webflux app using jwt bearer token
1
vote
1
answer
15
views
SpringBoot 3.2.4: sleuth.reactor.instrumentation-type: decorate-queues replacement in micrometer
How to migrate/replace the below sleuth property in spring boot 3 with micrometer tracing?
sleuth:
reactor:
instrumentation-type: decorate-queues
The application is a webflux project
On doing ...