• Andy Wilkinson's avatar
    Better diagnotics when ESCF subclass breaks with custom management port · 6c8f8c9d
    Andy Wilkinson authored
    When a custom management.port is used, the child context is configured
    with an EmbeddedServletContainerFactory bean that has the same class
    as the parent context’s EmbeddedServletContainerFactory bean. This
    ensures that the child context uses the same type of embedded container
    as its parent when there are multiple embedded containers on the
    classpath. It also causes a failure when the custom
    EmbeddedServletContainerFactory subclass cannot be instantiated, for
    example because it’s an anonymous inner-class.
    
    This commit improves the diagnostics so that we fail fast with an
    information exception message when we detect that the embedded servlet
    container factory bean’s class cannot be instantiated.
    
    Closes gh-6193
    6c8f8c9d
Name
Last commit
Last update
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...