Category "spring-boot"

Error running springboot oauth2 application: java.security.PrivilegedActionException: null

I am new to spring security. I am trying to create a security application basing on the tutorial available in internet. pom.xml <parent> <g

What magic happens in kotlin

I have kotlin + spring boot app. I done some development in my feature branch committed and returned to dev branch, built app and just tried to start it in inte

Spring Boot always redirects to login page

I have a problem about spring boot. I'm beginner and need to help. I'm created a project via initializr. And my pom xml; <?xml version="1.0" encoding="UTF-8"

Spring Cloud Sleuth Zipkin 3.1.1 Missing some properties

I use Spring Cloud Sleuth Zipkin with its version 3.1.1. I have a problem about defining some properties in application.properties file. The last two lines are

What Does MapReactiveUserDetailsService Do in Spring Webflux Security Authentication?

I'm trying to implement Spring Security authentication on Spring WebFlux app. I have implemented Spring Security authentication on Spring Web before. When I rea

Mongo template left join between two queries

In a spring project, I'm using reactive mongodb with mongo template to return a result of type Report class. var res1 = (Flux<Report>) template.find(q

Spring Boot Azure Storage Client yields java.lang.NoSuchFieldError: NOOP_CONFIGURER

I'm trying to create a Spring Boot Application that is able to reach out to Azure Storage. Here are some of the Dependencies I've attempted to declare in build.

Refresh the datasource on password rotation in SpringBoot Application

Can someone please guide me, how I can refresh the datasource whenever the password is rotated for the database. Basically I don't want any manual step to refre

Multiple list of Data comming in API when using ManyToOne Relationship

CarMake.java @Getter @Setter @EqualsAndHashCode @NoArgsConstructor @Entity public class CarMake { @SequenceGenerator( name = "car_make_sequence"

Convert String to LocalDateTime with zoned time

I received a String field in a topic with date and offset and I need to convert this String to a LocalDateTime by adding the offset. For example, if I received:

What is the best way to handle @SqsListener processing failure in Spring Boot?

We have implemented sqslistner as the documentation suggests, the best way to receive AWS SQS message Cloud Spring Doc. There are two ways for receiving SQS me

Spring Boot with common Authentication

I am trying to set up authentication server for spring boot application. I have multiple microservices application. Let say hospitals, patients, reports applica

How do I add environment variables in IntelliJ Spring Boot project

I Am trying to add an environmental variable inside my spring-boot application.properties file. I know how to add it normally on a non spring-boot project, but

Unable to persist Spring data mongodb using save on repository

I am using Spring Data Mongodb and Embeded mongoDB to persist the data. Pom.xml <dependency> <groupId>org.springframework.boot</group

Many to many relationship doesn't add new Entity into the table

I have two entities Book and BookTag. They are connect by many to many relationship. @Getter @Setter @Entity @NoArgsConstructor @AllArgsConstructor @Builder(toB

train a model with djl

Good evening ! I'm starting with DJL. My code source is here https://github.com/ngandji/green_anthill.git someone can tell what is wrong in my code! I learn wit

SAST job fails + GitLab + Spring boot + Maven

I have a multi-module maven Spring Boot project. During the Test pipeline stage, I get the below error. The specified user settings file does not exist: /build

Spring Boot Server not loading React webpage

Issue: Hello! I've been spending a fair bit of time now trying to get a Spring Boot server to host a React Application. I've been able to work out nearly everyt

Problem with my response in Postman : i keep receiving the response in xml format

I keep receiving my response in xml i dont know why and i want it to be by default json, once i used jackson-dataformat-xml but i delete it and update it the pr

Why won't my SpringBoot Project program populate tables in the database?

I have tried connecting to my Spring Boot project to a PostgreSQL database for the past few days and I have no errors running this project but when I open up my