Springboot and Axon: Basically I am unit testing an aggregate that uses three different ObjectMapper instances, each with a different configuration. These are d
I use spring-cloud-stream-binder-kafka to connect to the kafka broker I updated spring-cloud-dependencies version to 2021.0.1 I went from this [INFO] +- org.spr
I have a legacy app made in grails which uses springSecurityService.encodePassword to generate user password. It's stored in database like this: {bcrypt}$2a$04$
I need to trigger an event when db column is not updated for certain time using spring boot and gcp. Note:- we should use spring boot schedular. Let me know is
I am getting the errors: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not
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'm not able to send message to sqs-queue from my java application. I am running roribio16/alpine-sqs docker image for SQS in my local and I've created a standa
I have this spring boot app running on an AWS EC2 instance and when I make a post request from insomnia in my computer, it works, but, when calling it from my r
In my last project, there was a requirement for throwing exceptions when the request body contains extra parameters. If the request will be like { "test":"bo
I am working on spring-boot project Code is working fine until I add javascript , bootstrap and CSS path in list-todos.jsp but after I add them and hit URL "htt
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
How to implement below :- fail if name/id/sal isnull or missing/or has null value then string->pojo should fail.How can i implement ? Actual json is nested .
I am new to coding.I wants to copy a file from SFTP server to S3bucket.I don't want to copy it in to my local..I am trying to do this in Java springboot.Is ther
Got a small spring-boot messaging app that receives a message from the queue and inserts/updates a row in DB2 table. Noticed this week it received lot of messag
I am trying to make a put request using Postman with Spring Boot. The idea is to give the subscription object a foreign key value with a put request or post. I
I'm trying to present a html to screen but I'm getting template parser error from thymeleaf. Here is my code and error: index.html: <body> <h2>M
Getting this error when I start my application. WrapperJarApp Error: Caused by: java.lang.IllegalStateException: Cannot register alias 'springSecurityFilterChai
I want to test that GET "/" returns index.html (Which is the case in a build) but when I try that in an integration test I get 404 NOT FOUND. Here's how I test: