Category "spring-boot"

Integration testing using @SpringBootTest is not picking auto-configuration of library configured using spring.factories

We have a library ,in order to auto-configure the library we use spring.factories file under(src/main/resources/META-INF) which provides classes to auto-configu

Bean of type 'org.springframework.web.reactive.function.client.WebClient' that could not be found

I'm studying push notifications using the example of this manual https://golb.hplar.ch/2018/01/Sending-Web-push-messages-from-Spring-Boot-to-Browsers.html. I am

No qualifying bean of type 'javax.persistence.EntityManagerFactory' available whike upgrading SpringBoot from 2.1.18.RELEASE to 2.6.2

No qualifying bean of type 'javax.persistence.EntityManagerFactory' available whike upgrading SpringBoot from 2.1.18.RELEASE to 2.6.2 @ConditionalOnProperty("sp

What should be @JsonFormat(pattern="") in Spring-boot for given example

Using Spring-boot RESTful service,in that receiving JSON file which contain DateTime in following format "2017-08-16T16:08:25.000Z" and JsonFormat tries are e.g

Jasypt not decrypting properties during junit testing, but works fine when spring boot app runs

I have a Spring Boot application with a few properties encrypted with Jasypt, and I provide the secret key with the following VM option: -Djasypt.encryptor.pass

Add a object with custom annotation in springboot

I need to add an object like @Slf4j's "log" in a service class, for example: @Slf4j @Service public class MyService { public void anyMethod() { log

Keycloak - require email verification before creating the user

We are evaluating Keycloak to replace Forgerock for user registration Our current workflow provides a registration screen. On submitting the registration form,

SpringBoot - Can't resolve @RunWith - cannot find symbol

SpringBoot project. In build.gradle: dependencies { implementation 'com.google.code.gson:gson:2.7' implementation 'com.h2database:h2' implementation

Accessing application property in Spring boot application from MapStruct mapper

I want to access basic-info.expiration from application.yml a Spring boot application. application.yml basic-info: expiration: 6 UserMapper.java @Mapper(comp

Axon Aggregate Identifier Type Converter

PROBLEM: In an aggregate-state Axon SpringBoot application @AggregateIdentifier is of type UUID and PostgreSQL database column is of type UUID. When persisted o

Unable to register MBean

I am writing integration tests for a spring-boot application, and I am using a base test class for common methods and all the other common stuff. Something like

Combine Pagination of Two Different Entities With different size

I'm working on a problem where i have to do pagination of two data lists. ex. psudo code int recordsPerPage = 100; // this is dynamic int currentPage = 1; // th

Filter a Flux with a HashSet cellected from another Flux

I have two flux coming from ReactiveMongoDB API: the first will gets the data of date1 the second one gets the data of date2 by the end i want to exclude elemen

How to use a gRPC interceptor to attach/update logging MDC in a Spring-Boot app

Problem I have a Spring-Boot application in which I am also starting a gRPC server/service. Both the servlet and gRPC code send requests to a common object to p

Java file outside of source root intelliJ

I have cloned a spring boot project from GitLab having multiple branches in IntelliJ. I checkout to the branch in which I want to work. But I am getting "Java f

Jaeger with spring boot is not working when both are deployed at kubernetes

I am trying to trace logs of my spring-boot-application with jaeger . Both spring-boot microservice and jaeger are running on kubernetes ( local set-up on docke

deploy spring boot rest application on wildfly10

I have a spring boot rest api which is developed on Java 1.8 and deployed on Wildfly 15. when I try to deploy it on wildfly 10 errors are reported and deploymen

deploy spring boot rest application on wildfly10

I have a spring boot rest api which is developed on Java 1.8 and deployed on Wildfly 15. when I try to deploy it on wildfly 10 errors are reported and deploymen

Access URITemplate or RequestLine value in Feign RequestInterceptor / RequestTemplate

I'm developing an app against a cloud application that has hard api rate limits in place. In order to have my team get a feeling for how close we are in regards

Jaeger with spring boot is not working when both are deployed at kubernetes

I am trying to trace logs of my spring-boot-application with jaeger . Both spring-boot microservice and jaeger are running on kubernetes ( local set-up on docke