Path with “WEB-INF” or “META-INF”

The spring boot error Path with “WEB-INF” or “META-INF” occurs when the jsp page url is invoked and the tomcat jasper dependency is not configured in the application. The jsp…

Reading files from the resources folder in Spring Boot

Spring Boot, a widely-used Java-based framework for web applications, simplifies resource access, including files packaged within the application. This post explores reading files from the resources folder in Spring Boot.…

Override Spring Boot application properties in JUnit

The properties from the default spring boot application.properties can be overriden using @TestPropertySource annotation. Spring-Boot provides a convenient way to manage application properties through the application.properties file. However, during JUnit…

Removing the Whitelabel Error Page in Spring Boot

In a Spring Boot application, the default error page that is displayed when an exception occurs is called the “Whitelabel Error Page”. This page displays information about the exception, such…

No qualifying bean of type found for dependency

“No qualifying bean of type found for dependency” is a common error message that developers may encounter when working with the Spring framework. This error occurs when a Spring application…