1、springSecurityFilterChain'. Check to ensure the Filter is only configured once.
在pringboot中不能同时存在
public class MessageSecurityWebApplicationInitializer extends AbstractSecurityWebApplicationInitializer {
}
和 @EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter{ 类
to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
在tomcat的context.xml中增加Resources cachingAllowed
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
<Resources
cachingAllowed="true"
cacheMaxSize="100000"
/>