I have created a simple circuit breaker pattern using resilence4. The problem I am facing is, fallback method is getting called on 1st hit only. I am expecting
I have this old code implemented for Spring 2.4 public class Interceptor extends HandlerInterceptorAdapter { @Override public boolean preHandle(HttpServlet
I'm trying to configure spring security with oauth2, however I am new to this topic and ran into a problem. I have a spring backend and an angular frontend. I u
I have a log4j.xml with a customized appender like: <appender name="console" class="com.example.MyAppender"> <layout class="org.apache.log4
I have a simple application it fails to load with the below error APPLICATION FAILED TO START Description: An attempt was made to call a method that does not ex
I have an entity called packet, I want to update an attribute in all instances of that entity. The attribute I want to update is the price of the packet by a gi
I'm trying to use spring cloud stream to solve the following problem: I have a class that calls two separated functions (Function A and B), both of those funct
Got a simple project setup, my goal is to load a jsp file: I got my Controller with a RequestMapping for a jsp file. package com.example.registrationFrom.contro
I have 2 Spring Boot applications let's say named App1 and App2. There is a table in oracle DB with status column. when App1 runs a scheduler, it will update t
Small question regarding how to interpret the IP of an access log of a Spring WebFlux application please. I have a very simple Spring WebFlux Application, with
I have a Spring boot REST App which Encrypts the data and posts on to another REST application (Vault) which encrypts and stores the sensitive data and return a
I'm using Spring Boot for a search tool and I'm having an issue while passing the values from the front-end to the back-end. So, I have a select field that I'm
I am getting the following error java.lang.NoClassDefFoundError: Could not initialize class org.springframework.data.mongodb.core.convert.MongoCustomConversion
I'm not sure how to debug this or what is wrong at all. I am trying to run this project: https://github.com/spring-projects/spring-security-samples/tree/main/se
I'm trying to add an HTML select with data from a Database using Spring Boot and Thymeleaf. I can't get it what I'm doing wrong. This is the Code that is connec
I'm trying to get a list of transactions from database and this is the error I'm facing. "trace": "org.springframework.core.convert.ConversionFailedException:
I get a JSONObject from the client and I want to convert it to a Map in Java Spring-Boot. Does anyone know a good approach with my data structure? Json Object:
I´m trying azure/spring things out - guided from this tutorial: https://docs.microsoft.com/de-de/azure/developer/java/spring-framework/spring-boot-starter
I am working on a Spring Boot project with Java 11. I have a rest controller that has a GET endpoint. The controller method takes account number as one of its a
Getting this error HV000030: No validator could be found for constraint EnumChecker validating type MyEnum Check configuration for ‘myenum’. Using t