A set of tests should be run on every microservice. Current solution is to have an abstract class and extend in every service, providing the necessary propertie
I am doing this way in abstract class @Autowired lateinit var fileContract: FileContract with error kotlin.UninitializedPropertyAccessException: lateinit prop
Controller public String dummyAction(@Valid @ModelAttribute DummyInputData inputData) { return "success"; } Entity public class DummyInputData {
I am creating a new java library and will make the package as a jar file and have another JAVA application that can use it in terms of a JAVA library. So, is it
In our company library (say lib-a) we have an interface: public interface MyInterface { ... } and its default implementation: public enum DefaultMyImpl imp
I've created a DTO with some properties with validation constraint (like all the properties must be present in JSON Object). Now, I want to make that DTO in a w
Currently trying to start my app but unable because of this exception being thrown when starting app Caused by: org.springframework.data.elasticsearch.Uncategor
I've spring boot app with QueueMessagingTemplate as client to access Amazon SQS using temporary security credentials(STS). Getting temp token using STS-AssumeRo
Is it possible stream a zip file through a Java (spring boot) service from Amazon S3 without having to actually download the whole file in the service? For cont
I am working with spring-cloud-gateway and have the need to use multiple custom WebClients to proxy different requests. Having one custom WebClient is no proble
First question on Stack Overflow, hopefully I won't get flamed. If .Net mainly uses C#, and Spring mainly uses Java, what framework is most popular with C++ for
I'm writing a Spring Boot 2.6.3 app with a HikariDataSource created programmatically (so I can control names, timeouts, etc.). The interface method is used by a
I need to create a POST call with Spring/Webclient which does work fine with curl. POSTDATA="{\"subject\":\"CN=test\",\"type\": \"ssh\",\"usage\":\"login\",\"va
Am developing an angular application with spring boot as a back end, i wanted to make an upload to a local stockage in my PC. I made a Stockage folder in the as
I am trying to set null values to database of empty values from JSON payload. This problem caused beacause I have unique constraints on social entity fields. I
Having trouble dealing with slashes in controller mappings in Kotlin Spring. My client application sends an absolute path ("C:/User/Documents/FolderX"), and sho
I'm only learning Java and Spring and after several projects/tutorials went well I'm stuck with this error on a new project: org.springframework.beans.factory.
I have a problem about spring boot. I'm beginner and need to help. I'm created a project via initializr. And my pom xml; <?xml version="1.0" encoding="UTF-8"
In a spring project, I'm using reactive mongodb with mongo template to return a result of type Report class. var res1 = (Flux<Report>) template.find(q
Small question regarding database connection metrics for Spring Webflux (2.6+) web application please. For the SpringBoot (non Webflux) apps, connecting to JDBC