Posts related to tag: Spring Boot


Bean Scopes in Spring

Spring offers several bean scopes, each with its advantages and disadvantages. This post will delve into the various bean scopes, […] Continue reading »

Spring Boot- How to change default context path

In Spring Boot, you can change the default context path by modifying the application.properties or application.yml file. By default '/'(root) […] Continue reading »

Display all beans name loaded by Spring Boot

In Spring Boot, you can display all the bean names loaded in the application context using the ApplicationContext object. See […] Continue reading »

Versioning of REST API in Spring Boot: Types and Benefits

In this blog, we’ll explore the various types of API versioning in Spring Boot and the benefits they offer. Why […] Continue reading »

@ControllerAdvice vs. @RestControllerAdvice in Spring

Spring Boot is a popular framework for building robust and scalable web applications and RESTful services. When developing such applications, […] Continue reading »

Global Exception Handling in Spring Boot

Global Exception Handling in Spring Boot is a mechanism that allows you to centrally manage and handle exceptions that occur […] Continue reading »

Spring Boot CommandLineRunner Interface Example

Spring Boot’s CommandLineRunner interface, allows developers to execute code when the Spring Boot application starts. In this blog, we’ll explore […] Continue reading »

Difference Between @Component and @ComponentScan Annotations in Spring Boot

Spring Boot is a popular framework for building Java applications, and it provides a wide range of annotations to simplify […] Continue reading »

Spring Boot application.properties vs. application.yml

application.properties and application.yml both are the configuration files used in Spring Boot to configure application-specific properties. The main difference between […] Continue reading »

Does Spring Boot automatically close database connection?

Yes, Spring Boot can automatically manage and close database connections for you. Spring Boot provides integration with various database technologies […] Continue reading »

Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException

You might encounter the “Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException” error while upgrading Spring Boot and Swagger […] Continue reading »

1 2 3 7