Consider the following example: @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = {
After upgrading from springboot 2.3.9 to 2.6.6 I have a failing tests with the following error, java.lang.AssertionError: Expecting: <Unstarted application
Is there a way to react on "Application run failed", e.g. in case when database is unavailable? In my case the desired behavior is to exit the JVM process, so
CODE: Same code with out Microservice(Run as main class) giving correct output but after making it @service class(converting into microservice), it fails. I sti
how to fetch a single attribute from Redis cache spring boot? I want a response like this one { "answer": "FHFHFHFHFH" } but getting
I have a table which stores users information(id, name, surname, address, email, etc). I don't want to use auto-increment function of the database. So, we don't
I am using Spring Boot and ElasticSearch. When I am trying to upsert using Spring, it is throwing DocumentMissingException when there is no document present in
I need to document my spring boot application's rest apis with SpringDoc OpenApi. So, I added this dependency in my pom.xml: <dependency> <groupId&
I have a text file with path as resources/templates/temp.txt. I tried reading it with built in Files.readAllBytes() function found in java.nio
In terms of performance, what is better to use, an FFMPEG library(like https://github.com/kokorin/Jaffree) or the FFMPEG command line interface?
I'm trying to wrap my head around spring integration and would preferably like to stay away from XML-based configuration. What I would like to do is the follo
I have a Many-to-Many-Relationship between FishingDay and Fisherman. Here is my Entity-Class FishingDay: @Entity @Table(name = "FISHING_DAY") public class Fishi
Which version of spring doc open ui gradle plugin be used with spring-boot 2.6 ? I see this is the last plugin id "org.springdoc.openapi-gradle-plugin" version
I am trying to create springdoc swagger documentation, and I would like to represent a request body having data type Map<String, Object> in a better reada
I'd like to know how can I temporarily disable Liquibase in JHipster 7.7.0 there is a similar question here I tried this suggested solution but it shows this er
I have two actions in Mono, both returning similar object - Mono action1() Mono action2() I tried doing - Flux1.blockFirst(); Flux2.blockFirst(); both of the fl
How to run docker containers with external application properties files? & how to add properties file into the docker volume ? how to mount the volume with
I'm writing a consumer which listens to a Kafka topic and consumes message whenever message is available. I've tested the logic/code by running Kafka locally an
The Rest API responds with 429 error code and the retry has to trigger 3 times .But the control isn't reaching the retryrequestethod of HttpRequestretryHandler
When WebClient calls an external api (with different query params) asynchronously with a wrong token, the first few returns with 401 UNAUTHORIZED and the contro