Category "spring-boot"

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

OAuth2 with Google and Spring Boot - I can't log out

I've been trying to get a successful Oauth2 login with Google and Spring Boot for a while now. This only works partially. Why partly - because I can't manage th

Every bean/class instance created twice in spring boot application

I'm using java based configuration, using only @Component and @Scheduler Annotation in my other classes, but I don't know why all classes in class path loaded t

java.lang.IllegalStateException: No directory at file how to solve this

Error occures error massage Error massage ,,, Properties file picture of properties file

Nginx reverse proxy with prefix not working correctly with spring boot app

Hi Stackoverflow community ! i am trying to access to my spring boot app behind nginx reverse proxy in docker swarm architecture. the problem that when i go to

Excluding @bean from ComponentScan

I have lot of beans declared in a single class package com.example; @Configuration public class MainBeanClass{ @Override @Bean("cachingSession") @Lazy public C

Issue :: Microsoft Cognitive Services :: client-sdk :: Azure

I am trying to use Azure cognitive services and trying to convert "Text To Speech". I am able to convert the Text to Speech successfully on my local machine. Th

How use projections in spring-data-jpa?

I need to get all the information about the ticket in one request, also the name, author, and year of the book. I have implemented this : I create interface Tic

UnsupportedPointcutPrimitiveException: Pointcut expression 'getEncryptedValue()' contains unsupported pointcut primitive 'get'

I was using spring-boot-starter-parent 2.0.3-RELEASE, using pointcut primitive 'get' in my aspect like below. @Pointcut("get(* *) && @annotation(com.tes