Results for spring-boot
I'm almost there on persisting my H2 database using JPA in the application for the first time, but I'm running into the error message No qualifying be...
I'm trying to add retries to my calls using Spring Retry (newest version). I've added the following annotation: @Retryable( maxAttemptsExpression = "$...
I have a JPMS application with layer tree. On Layer C I need to create Spring context while Spring framework is located on Layer B: boot layer |- L...
I have a basic integration with spring boot/security and Keycloak. When I click on a protected resource I am redirected to the default Keycloak login ...
I'm creating a Spring Boot application, and planning to perform authentication via api request and respond sessionId. WebSecurityConfig.kt @Configurat...
I wanted to create a union named Tables, that holds all the other tables and the user can request the table accordingly. I get the error: You have ask...
In my request body I am passing parameter in different way to validate. { “name” : [] } Here the operation is executing which I want to restrict ...
Below is the code with both types of kafka consumers which I try to use . @SpringBootApplication @EnableBinding(MixApplication.IncomingBinding.class) ...
I have to deploy a simple .jar file in a production environment. For security reasons, I'm not able to write production credentials inside the applica...
I have a security configuration below; SecurityFilterChain defaultSecurityFilterChain (HttpSecurity http) throws Exception { http.authoriz...
I am learning Spring and using XML-way to create 2 beans instances of a POJO Class named "Notepad". finally I got two instances: n1 = Notepad@56dc1551...
My example is very simple. I created an endpoint to get JSON data from my interface (or client, or whatever). For this example, I will receive a Car j...
I am trying to block Url other URL's expect http://localhost:8081/odata/v4/com.sap.di.remoteHandler.RemoteHandlerServices/Handle But, since the URL ha...
I have a problem when launching the application : Description: Parameter 0 of constructor in com.backend.services.RoleService required a bean of type...
I'm using Spring-boot 3.1.4 and Spring batch Framework 5.0.3. First Question : When I launch my project with Spring-boot all my bean has been instanci...
I don't see why Spring try to instantiate my Predicate by interface. What configuration is responsible for binding predicate from http parameters? I h...
In Spring Security 6, I want to set up a SecurityFilterChain which checks for a combination of AuthenticatedAuthorizationManager.authenticated() and t...
I enabled async in my configuration: @Configuration @EnableAsync public class ApplicationConfiguration { //additional configurations } I have a te...
I’m currently developing a Spring application and have encountered an issue while trying to post a message to a Websocket connection. I’ve successfull...
I am trying to disable the spring.http.multipart.enabled=false in my yaml but it is not working look at my yaml spring: http: multipart: enab...
I use Spring Cloud Data Flow 2.11.2. My goal is making two sources and one processor that accepts both messages as input and performs some operations ...
I am migrating from Spring 5 to Spring 6.0.13 and I am having problem with Jersey 3.1.1. In WebInitializer : public class WebInitializer implements We...
Having controller, config and html: MvcConfig.java: import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; import org.spring...
I am creating a database that keeps information about other database and I want ot insert an entry. Classes look like: @Entity @Table(name = "table_in...
If I make a spring-boot web based rest API and just add the spring-boot-starter-security jar the application will initialize like so: 2023-10-27T15:06...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?