Category "spring-boot"

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

Missing table [rev_info] after bump liquibase version, spring data envers

I have problem with my project after bump liquibase version to 4.9.1. There is error: BeanCreationException: Error creating bean with name 'entityManagerFactor

DataJPATest attempts to load everything

I have my application, with a lot of components. I'd like to test my queries so I annotated my tests with: @DataJPATest Problem is that it also tries to load e

Upgraded Spring: org.springframework.web.client.UnknownContentTypeException: Could not extract response

So I upgraded Spring from 2.1.15 to 2.2.8 I have @SpringBootTests where I make a rest template and make requests to localhost. Full error is org.springframework

Eureka services giving Request execution error?

Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://localhost:8761/eureka/} is giving when I am running in docker windows but It is registerin

Docker : Unable to access the IBM MQ web management console

I followed the article - https://github.com/nuviosoftware/custom-ibm-mq and deployed the container using the below commands in my windows laptop using docker fo