For Matching condition, return Mono.error from code , but gives compilation error. I commented out //return Mono.error(new RuntimeException("User Phone Exists a
I want to send messages on different dates so I'm going to use java scheduler and dynamic cron expression but the problem is that user can send multiple messag
I’m using Jhipster (Gradle + React) for one of my project, and recently, I want to add Multi-tenancy support to the whole application (tenant will be the
I'm trying to seek the offset to some specific offset. It seems I need to use seekToTimestamp and there is no seekToOffset or something. I've research a lot but
I want query sublist in mongo collections using Spring Data MongoDB. My Code is like public interface SomeRepo extends MongoRepository<SomeDoc, String> {
New to OAuth2 and Spring framework. Have followed two introduction guides to it so far (for example this one) and the OAuth2User object (org.springframework.sec
I am working spring data elastic search. Based on different header in the request, I create @RequestScope object IndexConfig to hold different set of indexes. I
I am working spring data elastic search. Based on different header in the request, I create @RequestScope object IndexConfig to hold different set of indexes. I
we are using the default embedded ldap server in spring for our integration tests and configured it as follows: spring: ldap: embedded: base-dn: dc=
I have been digging into a bug with our website where videos and wav type audio files are not loading/showing up when viewed through the Safari browser. Instead
I have a field in a POJO which needs to be encrypted before being serialized and, similarly, decrypted upon deserialization. The issue is that a cryptor is a Sp
I have a JPA entity with the following fields: @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "modified_by_user_id") private User modifiedByUser; @Conve
I want to log into two different files, historic.log and applicative.log, from the same package that is com.authenticationservice.user.UserRequest. In the histo
In the application I would like to create a request-scoped bean (annotated with @RequestScope) that would represent a user of the application (for authenticatio
I have just read Spring Boot configuration with Morphia? and I am trying to implement it like this. But I always get Field mongoClient in MorphiaAutoConfigurati
I have just read Spring Boot configuration with Morphia? and I am trying to implement it like this. But I always get Field mongoClient in MorphiaAutoConfigurati
I use Spring MVC (no Spring Boot) with HATEOAS in order to get HAL-FORMS with Affordance response like this: "_links": { "index": { "hre
I need to mock some class that contains @PostConstruct method, but I get NullPointerException inside @PostConstruct method. My code looks like the following: @S
I'm trying to setup static content serving on my Tomcat 9 server So I specified it inside server.xml <Host name="${serverhost}" appBase="webapps" unpackWARs=
Does someone know what Spring application properties need to be specified so that the index is overwritten (if already been created) with new parameters. For ex