-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Perform failure analysis when a web application cannot be started due to a missing web server factory bean #30358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for the PR, @terminux. I've left some comments for your consideration when you have time.
...rg/springframework/boot/diagnostics/analyzer/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
...rg/springframework/boot/diagnostics/analyzer/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
...rg/springframework/boot/diagnostics/analyzer/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
...rg/springframework/boot/diagnostics/analyzer/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
...rg/springframework/boot/diagnostics/analyzer/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/springframework/boot/web/server/MissingWebServerFactoryBeanException.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/springframework/boot/web/server/MissingWebServerFactoryBeanException.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/springframework/boot/web/server/MissingWebServerFactoryBeanException.java
Outdated
Show resolved
Hide resolved
...rg/springframework/boot/diagnostics/analyzer/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
...rg/springframework/boot/diagnostics/analyzer/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
Thank you for using your precious time to review my code @wilkinsona. I updated the PR and it's ready for your review again. |
.../org/springframework/boot/web/server/context/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
.../org/springframework/boot/web/server/context/MissingWebServerFactoryBeanFailureAnalyzer.java
Outdated
Show resolved
Hide resolved
...n/java/org/springframework/boot/web/server/context/MissingWebServerFactoryBeanException.java
Outdated
Show resolved
Hide resolved
...n/java/org/springframework/boot/web/server/context/MissingWebServerFactoryBeanException.java
Outdated
Show resolved
Hide resolved
Thanks for the latest updates, @terminux. I'm going to label this one for a forthcoming meeting so that we can discuss the package of the new |
Thank you, @terminux. |
Hi, I submitted this PR to solve #28926.
I'm not sure if
MissingWebServerFactoryBeanException
should inheritApplicationContextException
and ifMissingWebServerFactoryBeanException
should be thrown upwards.spring-boot/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/reactive/context/ReactiveWebServerApplicationContext.java
Lines 81 to 82 in 4e62ac4
Closes gh-28926