codecentric / spring-boot-admin

Admin UI for administration of spring boot applications
Apache License 2.0
12.37k stars 3.08k forks source link

Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat #622

Closed wangjia2016 closed 6 years ago

wangjia2016 commented 6 years ago
org.springframework.boot spring-boot-starter-security 1.2.7.RELEASE de.codecentric spring-boot-admin-starter-client 1.2.4

SpringBoot version:1.2.7.RELEASE

Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

Caused by: java.lang.NullPointerException

ServletContextInitializer characterFilter.setInitParameter("encoding", "UTF-8"); //this line cause null point

how to solve this problem?

ps:my project use shiro instead of spring security.

joshiste commented 6 years ago

doesn't look like an SBA bug to me, as the SBA doesn't contain a ServletContextInitializer.

Anyway I won't do fixes for a 1.2.x