I need to know if there is a way in Java Spring boot not to try a connection at startup. What I am trying to do is an integrated SQL server connection. I am try
I use MongoTemplate to update a document using findAndModify() method. There are nested documents inside one document. Example as following: @Document public cl
I am getting the below issue while trying to run the maven build . Project runs fine in java application but while running maven build getting the below issue .
I'm experimenting a lot with Apache Kafka in a Spring Boot App at the moment. My current goal is to write a REST endpoint that takes in some message payload, wh
My objective is to make sure that a client can't access (retrieve) directly an entity through the Spring Data REST auto-exposed APIs, but rather only to the vie
Returning a response in SpringBoot project like this: @GetMapping("/users") public ResponseEntity<List<UserDto>> getUsers() { return ResponseEnt
I have this SpringFox @Api tag: @Api(hidden = true) I tried to replace it with: @Tag(hidden = true) But where is not option hidded=true What is the proper way
I have some property file like: application.properties enable.test.controller=true enable.cross.origin=false I want to enable/disable some functions based on t
This is a mapper interface for mapping: @Mapper public interface DoctorMapper { DoctorMapper INSTANCE = Mappers.getMapper(DoctorMapper.class); DoctorDto toD
Java Code @Component @RequiredArgsConstructor public class WireInboundFileListener extends RouteBuilder { private final JwtWireTokenService jwtWireTokenSe
I am trying to migrate existing spring boot application to spring native. In this case, I have application.properties and application-dev.properties. package co
I'm trying to send simple message to a topic from sender Spring Boot app to a receiver Spring Boot app. But I keep getting two exceptions. First exception occur
I have an application with thousands of tests through MockMvc. The tests are running in band, so 1 at a time and whole process takes hours. I decided to try par
I have a Spring Boot Vaadin web app with Spring Security and keycloak-spring-security-adapter. This works fine on the root page. From the root page I can access
I currently have multi tennancy database working by implmenting AbstractDataSourceBasedMultiTenantConnectionProviderImpl. This is working great thankfully. Now
I have an object User and as part of validation I have provided something like below: import javax.validation.constraints.NotBlank; public class User { pr
I am developing web application backend with Spring where client and server talk through Restful APIs. There is a specific API where I assume the hit will be mu
Below is my pom.xml. I am getting exceptions while fetching the spring-starter-parent from maven repo. what is it that I should specify in my relative path : Wh
In a project I am working on we added a secondary data source. This meant adding the entity factory and the transaction manager at the @EnableJpaRepositories. W
Link for Authorization server: https://github.com/spring-projects/spring-authorization-server This project pretty much has everything in terms of OAuth and Iden