Found 2 relevant articles
-
Analysis and Solution for Spring Boot ServletWebServerFactory Bean Missing Error
This article provides an in-depth analysis of the 'ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean' error in Spring Boot applications, focusing on the solution of configuring spring.main.web-application-type=none for non-web application scenarios, with complete code examples and configuration instructions.
-
Resolving 'Bad Request - This combination of host and port requires TLS' Error in Spring Boot
This article provides an in-depth analysis of the common TLS configuration error 'Bad Request - This combination of host and port requires TLS' in Spring Boot applications. Through practical case studies, it demonstrates the fundamental reason why HTTPS protocol must be used instead of HTTP when SSL/TLS is configured. The paper thoroughly examines Spring Boot's SSL configuration parameters, keystore management, and client authentication mechanisms, offering complete solutions and best practice guidelines.