I am trying to create Many to Many relationship and save some data to database. I have entities: @Data @AllArgsConstructor @NoArgsConstructor @Entity public cla
In my controller I currently added the following annotation @CrossOrigin: @RestController @RequestMapping(value = "/dev/test") @CrossOrigin publ
I have following code: @Slf4j public class Main { @Data public static class AClass { private String title; } @Data public static class BClass extends ACla
I am new to keycloak , whether the user creation should be happened in my application or at keycloak
My application have two schedulers one runs every day at a particular time and another scheduler every day at and interval of 1 hour. I have added the cron exp
I'm using OpenApi 3 in my SpringBoot project in order to generate a Swagger html page. The dependency in POM.xml : <dependency> <groupId&g
I am new to web security and implementation of same using spring-security. One important concept is prevention from CSRF using CSRF token. Spring security has p
Have anyone deployed Spring Boot app to DigitalOcean droplet? I have previously created app on Heroku.com, where I also ordered MySQL Database and deployed my W
Have spring boot app with only one dependency spring-boot-starter web and want to see tomcat logs for that i added to logging.properties that handlers = 1catali
I'm playing a little with Reactive Spring Integration and I try to perform the following basic operation: @Override protected IntegrationFlowDefinition&
I have little problem with spring ComponentScan in my application. Here is my Test spring configuration: @Configuration @ComponentScan(basePackages = {"com.dhl.
I want to write an integration test for a delete method in my controller, but no matter how many times I tried rewriting it, I am still getting different errors
I am making a maze game and I am trying to implement a wall feature that will restrict the movement of a player if he collides with a wall. I have created a wal
I am using spring 5.3.7 and when I start my application, it returns the error below: Instantiation of bean failed; nested exception is org.springframework.beans
When trying to run step defs with abstract class contains all the context configuration spring sees 2 differnt beans parent and stepdef I'm using spring boot ve
I've one gradle spring boot project. Even if i'd to put one log at some place. It requires re-run of the application. Is there anyway to add these type of chang
I have a spring-boot project that contains a BookMapper bean: import org.apache.ibatis.annotations.Mapper; @Mapper public interface BookMapper { // some CR
I want to use the EMF to do queries constructed at runtime on a String. If there is a way I would appreciate it if someone could tell me how and give a small ex
In my post request endpoint, I want to generate ZIP File. Here is endpoint: public void downloadZipFile(@RequestBody final Parameters parameter, final HttpServl
I have installed Pentaho (9.x) on Tomcat 8.5 and OpenJDK 1.8 as required. In front of it there is Apache 2.4 with mod_proxy_http. My website is served with HTTP