Category "spring-boot"

QueryDSL Predicate for use with JPARepository where field is a JSON String converted using an AttributeConverter to a List<Object>

I have a JPA Entity (Terminal) which uses an AttributeConverter to convert a Database String into a list of Objects (ProgrmRegistration). The converter just us

Are extra reflection configurations needed for custom Spring Boot starter libraries when using Spring Native?

I am in the process of building a set of shared libraries using custom Spring Boot starter auto configuration per guidance from https://docs.spring.io/spring-bo

Get list of keys in Complex JSON Object (Java 8)

I am dealing with a JSON that looks like this :- { "key1": { "key1.1": { "nestedkey1": "something", "nestedkey2": "something", "nest

Spring Cloud Gateway for composite API calls?

I am starting to build a Microservice API Gateway, and I am considering Spring Cloud to help me with the routing. But some calls to the Gateway API will need mu

Spring Boot - The 'Access-Control-Allow-Origin' header contains multiple values but expect only one

I read all posts on StackOverflow on this topic but did not find answer as they all are about difference scenario than mine. My spring boot API uses Spring Secu

This error handler cannot process 'SerializationException's directly;

The image below is my topic. Every once in a while, a value other than an empty or json is returned. If it is null, it throws an error as below and enters the

java.lang.IllegalStateException: No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-netflix-ribbon?

I am getting exception: FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: No Feign Client for loadBalancing d

Cannot resolve org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:unknown

I am following a tutorial to learn eureka server/client with spring boot when I try to install maven dependencies in the pom.xml I get the error in the title th

need help in creating Dynamic multilingual PDF using java spring boot

I have to create dynamic report in PDF in multiple languages like english,spanish,german,italian etc. .The report is divided in various sections which will hav

Merge logging config of Spring boot and Logback

I have a following situation: A spring boot app using logback and several logging properties configured already in application.yml I would like to add other con

Spring Boot issue with AWS SES authentication

I have a Spring Boot app where on some occasions I am sending automated emails. My App is hosted on AWS ECS(Fargate) and is using AWS SES for sending emails. I

ResourceExhausted error in Pivotal cloud foundry

I am getting the below error whenever trying to invoke a SOAP endpoint which is deployed in PCF. 2019-03-07T06:55:22.817-05:00 [APP/PROC/WEB/0] [ERR] Resource

403 Error when sending post request to external API

I have an Angular App that is used to compile a java program, I am using Jdoodle API for compilation, we send requests to Jdoodle and then get a response back,

Dynamic Bundle loading OSGI

I am new to OSGi so please help me out here. **I have 2 independent modules A and B for addition and multiplication respectively. Now in clientmodule i.e., i wa

How to know the replica count of a Spring Boot application in Kubernetes

I have a Spring Boot 2.2.x backend deployed in kubernetes. I want to split a workload in this backend by the number of replicas of this application. If I have o

springdoc-openapi-ui swagger 3 change API description

I am new to String and Swagger 3. How can I change the default API description i.e. OpenAPI definition in Swagger springdoc-openapi-ui swagger 3 Also version,

springdoc-openapi-ui swagger 3 change API description

I am new to String and Swagger 3. How can I change the default API description i.e. OpenAPI definition in Swagger springdoc-openapi-ui swagger 3 Also version,

How to add Spring Initializr support to IntelliJ IDEA Community Edition 2020

How can I use Spring Initializr support in IntelliJ IDEA Community Edition 2020? IntelliJ documentation recommend me: Create a Spring Boot project From

How to get List of Objects with value in array in Spring-Boot CrudRepository

I have an Object defined that has ChildAccountList of Strings as one of the attributes. Is there a findBy method that I can use such that it will return the li

Best way to connect spring boot application to VAULT using LDAP authentication method

I am trying to connect my Java application to Enterprise Vault using LDAP authentication method. spring won't provide a direct way to connect with like it provi