Category "spring-boot"

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

Resilience4j never call fallback method

I am new to Resilience4j and circuit breaker pattern. I write a sample for resilience4j. Details is as below: pom.xml: <?xml version="1.0" encoding="UTF-8"?&

Install reportportal on kube get error : starting Tomcat context. Exception: org...message: Error creating bean with name 'servletEndpointRegistrar'

I've installed reportportal 5.7.0 to kubernetes cluster. I've implemented it from doc:https://github.com/reportportal/kubernetes/tree/develop/reportportal. From

How to avoid jwt token or ignore authentication when testing HTTP API request?

mvc.perform(MockMvcRequestBuilders.get("/PensionerDetailByAadhaar?aadhaarNumber=123").header("Authorization","Bearer "+token)).andExpect(status().isOk()); Here

Problem with Google Cloud Pub/Sub API and Spring boot application

I write spring boot application for subscribing Google cloud Pub/Sub topic for this I use Google's tutorial, but when I run application I have get this error

Force Tomcat a JSON response of BadRequest error: Invalid character found in the request target

I have this spring boot (v2.2.8) app for REST-full service, and I want all responses and errors to be only in JSON. Almost every error works with @ExceptionHand