I tried using 'mvn spring-boot:build-image' command and get that error.. ( I saw that maven have a new way to create an image with spring) Building image 'doc
I am developping REST services with Spring Webflux and I want to produce documentation with Swagger2 for my API with. I discovered that Webflux is only supporte
I am using spring-boot 2.3.3.RELEASE with the according spring-boot-starter-parent in maven. <parent> <groupId>org.springframework.boot</group
Guess easier if I show you my example: @Entity class User { Long id; Status status; } enum Status { NEW("N"), DELETED("D") } I have an AttributeCon
I'm trying to run a JUnit Test in IntelliJ IDEA, but the Runner could not find the Spring Profile. this message is displayed in the log: --spring.profiles.acti
I am enable swagger2 by @EnableSwagger2. However, when I try to hit "/swagger-ui.html", it first hit my Authentication Filter. Then, I wrote the following code
I have a problem with the execution of the batch process that I am developing. It comprises several steps. The first one recovers data and inserts it into a ta
I'm trying to use Spring 5 to have a custom bean for my request parameters. In theory this is easy, but I want to have the field names be different from the par
Am invoking an REST endpoint from another service using restTemplate.exchange. The endpoint that receives the request invokes DB and fetches around 1.5 mil rec
Hi I'm working on a Spring Boot Project using PSQL. I have a model that is implemented pgcrypto like this, @ColumnTransformer( read = "pgp_sym_decrypt( ms
I have created a Spring Boot 2 demo application with the Spring Initializr and added the controller below: @Controller @RequestMapping("/demo") public class Upl
I am trying to save the List<byte[]> object in Postgres DB, but I am getting the below error. Caused by: java.lang.IllegalArgumentException: Value was not
The scenario goes something like this. I've a 3rd party system that accepts 'callback' endpoint and upon a specific event (at the 3rd party system), a new API r
I set two parameters to disable auto commit by False but save operation on entity without transaction was committed. spring.datasource.hikari.auto-commit=false
I have an aggregation written in a MyRepository.kt file which is being called from MongoDataRetriever.kt file in the backend. MyRepository.kt file: import org.s
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