[main] WARN  [org.springframework.security.config.FilterChainProxyPostProcessor] - Possible error: Filters at position 8 and 9 are both instances of org.springframework.security.intercept.web.FilterSecurityInterceptor
tomcat在启动的时候,遇到这个警告时就无法在继续启动,这个该怎么办?

解决方案 »

  1.   

    按官方的说法,如果需要用自定义的filter覆盖默认filter,则应该将security:http标签的auto-config属性改为false,这样的话就需要增加很多手动配置项。网上搜出来的,不过我自己看不懂,惭愧惭愧,楼主试一下吧……
      

  2.   

    如果需要用自定义的filter覆盖默认filter,则应该将security:http标签的auto-config属性改为false
      

  3.   

    更多信息:信息: XML validation disabled
    2011-10-10 09:20:36,875 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [com.ninetowns.common.entity.dict.CodeMoneyKind]; using defaults.
    2011-10-10 09:20:37,125 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [com.ninetowns.common.entity.dict.CodeCountryRegion]; using defaults.
    2011-10-10 09:20:38,078 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [com.ninetowns.upsdecl.entity.security.Org]; using defaults.
    2011-10-10 09:20:40,875 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [com.ninetowns.upsdecl.entity.security.Config]; using defaults.
    2011-10-10 09:20:40,921 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [com.ninetowns.upsdecl.entity.security.Schedule]; using defaults.
    2011-10-10 09:20:41,078 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [com.ninetowns.upsdecl.entity.security.Org.configs]; using defaults.
    2011-10-10 09:20:41,109 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [com.ninetowns.upsdecl.entity.security.User.configs]; using defaults.
    2011-10-10 09:20:41,890 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
    2011-10-10 09:20:41,906 [main] WARN  [org.hibernate.cache.EhCacheProvider] - Could not find configuration [org.hibernate.cache.StandardQueryCache]; using defaults.
    2011-10-10 09:20:48,250 [quartzScheduler_Worker-1] INFO  [com.ninetowns.upsdecl.schedule.job.ShipFileJobBean] - 开始下载舱单文件
    2011-10-10 09:20:48,406 [quartzScheduler_Worker-2] INFO  [com.ninetowns.upsdecl.schedule.job.CommandJobBean] - 开始检查并处理未处理的指令
    2011-10-10 09:20:48,453 [quartzScheduler_Worker-3] INFO  [com.ninetowns.upsdecl.schedule.job.CommandFileJobBean] - 开始检查未上传的指令文件
    2011-10-10 09:20:50,609 [main] WARN  [org.springframework.security.config.FilterChainProxyPostProcessor] - Possible error: Filters at position 8 and 9 are both instances of org.springframework.security.intercept.web.FilterSecurityInterceptor