A Spring boot web application running in tomcat server suddenly encountered a stack over flow error. The error occurred seems to be due to spring-boot recursiv
Getting following error while migrating my project from Spring boot version 2.1.6 to 2.4 No more pattern data allowed after {*...} or ** pattern element Code Sn
I have a Spring boot app written in Kotlin where I would like to enable caching in Redis. I'd like to have the objects stored as serialized JSON and ideally don
I tried using env variables in my application.yml configration like: spring: main: show_banner: false --- spring: profiles: production server: addr
Spring boot makes it really easy to setup a simple app. But it takes me longer to actually get a jar file which I can upload to a remote server. I am using Inte
Is it fine to have a @Service annotated class calling another @Service annotated class? Or it is a bad practice? Eg.: @Service public class MyService { //
I have 5 different object of class Tour with some fields.I want that my main page shows this object with their fields. I wrote conrtoller: @Controller
**** I have created repository and autowired that to service class and created controller and autowired the service and and the sample code below same code i ha
First of all, thanks for taking your time in reading this. I have a Spring boot backend running locally and angular app making calls to this backend to to do CR
I am running an application on Heroku. We have a staging site and a production site. We are attempting to move to a standard 0 tier database. I have successfull
I am just starting with microservices and I want to creat a simple Eureka Server to do my Serviceregistry. For now I just want to run the server on localhost an
Tomcat 8.5, which will be the default in Spring Boot 1.4, supports HTTP/2. How can HTTP/2 be enabled in a Spring Boot application?
When I start to learn the spring-webflux, I have the question about this component. I built a simple project, using maven to manage it. I addded the dependencie
I'm using Springboot with the sl4j-api 1.7.2. Is there a way to filter out from stack-traces only the lines starting with my packages, or excluding from the log
I have two classes marked as @SpringBootApplication under one directory: @SpringBootApplication public class FirstSpringBootApplication and @SpringBootApp
Running Springboot 2.5.9 and IntelliJ 2022.1. I have this in my application.yml: However, IntelliJ is complaining about the fact that logging.file is deprecat
I want to retrieve user's info either based on the ID or the Email. Below is the controller class I wrote: @RestController @RequestMapping("/users") public clas
How to solve Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it to the classpath. warni
How do I configure the TCP/IP port listened on by a Spring Boot application, so it does not use the default port of 8080.
I am working on spring boot and batch application. Due to batch, the application tries to connect to datasource with spring-boot:run. I want to stop that and t