Closed wangjia2016 closed 6 years ago
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.
doesn't look like an SBA bug to me, as the SBA doesn't contain a ServletContextInitializer.
ServletContextInitializer
Anyway I won't do fixes for a 1.2.x
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.