Thank you in advance, Hello I am new to spring boot. I am facing a problem with spring boot. When I run my URL in postman it shows an error below. I have also u
I know question like this have been already asked but I am new to spring boot and trying to run this program as java but getting error. I tried to search this e
In a Spring Boot project I have a SentryConfig.java file package example.services.bo.config; import org.springframework.context.annotation.Bean; i
Is it possible to map same path (uri) in request mapping for two different post methods, only difference is request body. Example @RequestMapping(value = "/he
I have this input: Masa: <input type="number" class="form-control form-text" name="masa"/> <div class="text col-sm-12 error" th:if="${wzrost}"
I am deploying a Spring-boot web-application on 'tomcat 9' and I faced a NoSuchMethodException. I compile and run this code in localhost, successfully; but when
I have 2 jobs running in single spring batch application based on input parameters and it is working successfully. But when i run my test case, i'm getting the
I am using Projection Interface to return a partial view of an Entity, and the partial view contains a Set of String. I expect the Set works as normal but its n
I'm working on a microservice architecture, I'm using Feign client to make a rest call to another microservice. I using spring boot version 2.1.3.RELEASE and sp
Say I am given a scenario like this: @Data public class ClassA { private final String name = "ClassA"; public ClassA(){ //This constructor gets
I understand that if we use annotation @Transactional. "save()" method is not necessary. Is it exact? And for my example: @Transactional void methodA() { .
I am using spring integration to process multiple files from a queue. Following is my configuration: <si-jms:message-driven-channel-adapter id="someReg
I'm having a very weird issue with my Gradle config and JUnit, I have tried updating to 5.7+ but I'm getting the following exceptions: org/junit/jupiter/api/ex
I'm having a very weird issue with my Gradle config and JUnit, I have tried updating to 5.7+ but I'm getting the following exceptions: org/junit/jupiter/api/ex
I am trying to connect my Spring-Boot application to RabbitMQ which is hosted as a AWS service.I am getting the following exception when starting the applicatio
I am developing microservices code from the link : https://github.com/sivaprasadreddy/spring-boot-microservices-series. In this code base, I was successfully ab
How can I have a spring boot web application running on multiple ports? for example 8080 and 80 how can I achive this?application.properties server.port=8080,
I want to handle json request for List of Object and Object it self in the same Spring controller. Below is the exact example. Json Request for Single Object:
I want to initialise schema using spring.jpa.generate-ddl=true and then populate using data.sql. I tried it but it doesn't seem to work without schema.sql. Any
I am using Spring Boot version 2.0.2Release. Below is my security configuration @Configuration @EnableWebSecurity @EnableGlobalMethodSecurity( prePostE