When I get some claims from a JWT Token to validate user authentication I get the following error: Illegal base64url character: ' ' Creating a JWT goes complet
I am new to Spring/Spring Boot. I want to use the key-value pair data of application.properties / application.yml in Java file. I know that we can use @Value in
How to start single Spring Boot Microservice on Multiple Ports in STS/eclipse ? Means one app is running on 8080 port. So how we can run the
When i run the spring boot app, intellij returns me an error: An attempt was made to call a method that does not exist. The attempt was made from the follow
Could anyone please provide the sample code in spring-boot for Debezium connector Listeners class and configuration class for MongoDB which provide the changed
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