Category "spring-boot"

Java Spring Webflux - IP in access log

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

Can Spring Batch be used to fetch response from REST API

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

Spring Boot non-required requestParams default to null instead of empty string

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

NoClassDefFoundError on MongoCustomConversions while upgrading springboot

I am getting the following error java.lang.NoClassDefFoundError: Could not initialize class org.springframework.data.mongodb.core.convert.MongoCustomConversion

Gradle cannot find Spring Boot 3.0.0-M1

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

Populate a drop down with a list using Thymeleaf and Spring Boot

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

No converter found capable of converting from type [java.math.BigInteger] to Entity

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:

How to convert JSONObject to Map in Java

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:

AADWebSecurityConfigurerAdapter not found

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

Best Practice to transform request headers before passing it to rest contoller

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

no validator found for custom annotation and validation for enum springboot java8

Getting this error HV000030: No validator could be found for constraint EnumChecker validating type MyEnum Check configuration for ‘myenum’. Using t

Kubernetes: how to set up communication between microservices

Recently, I’ve made a simple application with spring boot backends and an angular frontend. Here is the ‘architecture’: application setup The

How to perform Data Type validations for each individual fields of a POJO in Java?

I have a Request POJO class which comes with all String data type fields. When I have to store them to DB, the data types must be accurate. Considering that I

How to Connect to multiple Queue Managers and exchange data between them

I am Trying to connect to multiple QueueManagers in IBM MQ Explorer using java. I am able to connect to single Queue Manager and send nd receive data from it bu

Not able to establish connection between mongodb and Springboot through app.properties file

I want to establish connection with mongodb through app.properties files in Spring boot. Currently, I am establishing connection through Uri variable declared i

Springboot Actuator Refresh does not reload @Value properties in @ConfigurationProperties

I have a springboot application that ingests an application.properties via @ConfigurationProperties and @PropertySource("classpath:application.properties"). My

Cannot deploy spring boot application with docker to aws elastic beanstalk with eb cli using docker compose

I have a problem here! I cannot deploy spring boot application to AWS Elastic Beanstalk with eb cli using docker-compose.yml Here my code! Here my simple API @R

How can I delete the product and corresponding logs?

I want to delete all the product logs of a specific product depending on its product_id(FK). I created product logs to monitor when the product it's created and

Sync User Keycloack with User spring boot app

Hello I'm on a spring boot application with a keycloak authentication server and I would like to save the users on the spring database does anyone have a track

Can we make folder inside template package of SpringBoot Application?

I have been working on dummy Web application, and there are lot html file in template which I want to organize. I am getting an error when I have keeping them i