Learn how to register a ServletContextListener in a Spring Boot application.
Also find me here:
Baeldung Author
Martin Blažević
Martin is a software engineer specialized in backend development and bare-knuckle fighting with bugs. He began speaking Java nearly 10 years ago, and since then, Martin has gained experience in the telco, security, and IoT domains. He is passionate about writing clean code, refactoring, and unit testing. When not working with technology, Martin enjoys traveling, solving logical puzzles, and learning new skills.
Here's what I've written (so far):
Baeldung on Java
- All
- Spring Boot (2)
- Algorithms (2)
- Spring WebFlux (1)
- Spring MVC (1)
- Reactive (1)
- Maven (1)
- Java Web (1)
- Java String (1)
- Core Java (1)
How to Resolve “Could Not Autowire org.springframework.mail.javamail.JavaMailSender”
Filed under Spring Boot
A quick tutorial on fixing Spring Bean issues with the JavaMailSender bean missing from the context.
Generate a Valid Expression From a String of Numbers to Get Target Number
Filed under Algorithms, Java String
Learn how to generate valid expressions by inserting binary operators between digits to match a target value.
Constructing a Lexical Analyzer in Java
Filed under Algorithms
Learn the fundamentals of lexical analysis and build a simple arithmetic lexer in Java.
Guide to Objects.requireNonNull() in Java
Filed under Core Java
Learn how to efficiently validate method and constructor parameters using Objects.requireNonNull() and its overloaded variations.
How to Convert OpenAPI 2.0 to OpenAPI 3.0 in Java
Filed under Java Web
Learn several methods of upgrading from OpenAPI 2.0 to OpenAPI 3.0 in Java.
Execute Synchronous Requests Using WebClient
Filed under Reactive, Spring WebFlux
Learn how to execute synchronous requests using WebClient.
Why the Order of Maven Dependencies Is Important
Filed under Maven
Learn why the order of Maven dependencies is important.
Avoid “No Multipart Boundary Was Found” in Spring
Filed under Spring MVC
Learn to configure multipart requests to avoid “No Multipart Boundary Was Found” errors when handling multipart HTTP messages in Spring.