Results for spring-mvc
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 want to use the built-in neo4j for demonstration purposes, so the application must be deployed somewhere. It cannot be any test instance such as Tes...
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 want to make an integration Selenium test of my Spring Boot Web application, however I can't figure out how to update the object inside my test clas...
I converted the RestTemplate to WebClient in my Spring Boot 3 project. In RestTemplate we were using PoolStats for logging metrics of leased, pending,...
I upgraded from Spring Boot (Data) 3.1.5 to 3.2.0. Several of my queries in the Repositories throw exceptions now on application start in the validati...
I am trying to set up Spring-boot Cloud Config Server But the response I keep getting is null on the propertySources. I have used {application-name}-{...
I'm creating a Spring Boot application, and planning to perform authentication via api request and respond sessionId. WebSecurityConfig.kt @Configurat...
I want to create a Java class out of a json response I get from a third party API which I have already managed to to with using the ObjectMapper. Howe...
I am trying to create an endpoint in my spring boot application to be invoked by a pubsub message. The application already has some security enabled f...
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...
I have an entity class in my Spring Boot application where I've implemented a custom ID generator for the ID field. However, the ID isn't generated up...
In my request body I am passing parameter in different way to validate. { “name” : [] } Here the operation is executing which I want to restrict ...
I'm building a backend app with spring boot and kotlin. I wanna implement a parallel execution for a specific method. I tried to use coroutines but th...
I'm working at a Spring Boot project and I want to handle the exceptions for the REST API using @ControllerAdvice. And I want to handle the case when ...
I am unable to access my static html files in spring boot. I tried different configurations but still I get the resource not found error Firstly I tri...
Below is the code with both types of kafka consumers which I try to use . @SpringBootApplication @EnableBinding(MixApplication.IncomingBinding.class) ...
I am new to Aerospike DB and hoping to try transactional. We have an API which updates TableA and TableB in a single request. Now, how can I make my r...
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 REST API setup using Spring Boot. I'm attempting to send a JSON object in a POST request to the API to read the values and store them in a SQ...
I have simple CRUD spring boot app that I want to deploy to AWS via Beanstalk. If I follow default steps and only choose custom VPC - app doesnt work....
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...
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?