Category "spring-boot"

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

Session handling error: Pool#acquire(Duration) has been pending for more than the configured timeout of 45000ms

I am using spring-boot-starter-graphql for simple client-server communication with websocket. Below is code snippet in client "ws://localhost:8080"

Getting 405 error in OpenAPI swagger page if I put only path variable attributes in a Rest Controller

I am trying to create Swagger documentation using OpenAPI 3.0. I am using spring-boot-starter 1.5.4.RELEASE and springdoc-openapi-ui version 1.4.2 <parent>

KTable-KTable foreign-key join not producing all messages when topics have more than one partition

See Update below to show potential workaround Our application consumes 2 topics as KTables, performs a left join, and outputs to a topic. During testing, we fou

Mockito mock Java @Value with spring boot

Hi I have this simple code for my Spring Boot Project: @Component public class UserRowMapper implements RowMapper<User> { @Value("${bug.value}") p

Error creating bean with name 'mongoTemplate' defined in class path resource Mongobee

Using the Mongobee for Data Migration creating and error as Error creating bean with name 'mongoTemplate' defined in class path resource Migration configuration