我正在查看由tomcat加载的spring的输出,并且有一些非常奇怪的东西......一切都是重复的。什么会导致这个?不管是什么,它都会导致我的应用程序以奇怪的方式运行。
附加信息:
该应用程序是一个网络应用程序。所有 spring 信息都使用 web.xml 文件中定义的上下文加载器(?)加载。我的配置文件分为 6 个(左右)文件。
示例调试输出:
[DEBUG,DefaultFilterInvocationDefinitionSource,main] 添加 URL 模式:/
**
;属性:[REQUIRES_SECURE_CHANNEL][DEBUG,DefaultFilterInvocationDefinitionSource,main] 添加 URL 模式:/
**
;属性:[REQUIRES_SECURE_CHANNEL][DEBUG,DefaultFilterInvocationDefinitionSource,main] 添加 URL 模式:/
**
;属性:[ROLE_READ,ROLE_UPDATE][DEBUG,DefaultFilterInvocationDefinitionSource,main] 添加 URL 模式:/
**
;属性:[ROLE_READ,ROLE_UPDATE][DEBUG,AbstractFallbackMethodDefinitionSource,main] 添加安全方法 [CacheKey[com.service.impl.FooServiceImpl; public abstract java.lang.Boolean com.service.IFooService.saveOrUpdateFoo(com.model.Foo2,java.lang.String) throws org.springframework.dao.DataAccessException]] 带有属性 [[ROLE_UPDATE]]
[DEBUG,AbstractFallbackMethodDefinitionSource,main] 添加安全方法 [CacheKey[com.service.impl.FooServiceImpl; public abstract java.lang.Boolean com.service.IFooService.saveOrUpdateFoo(com.model.Foo2,java.lang.String) throws org.springframework.dao.DataAccessException]] 带有属性 [[ROLE_UPDATE]]
[INFO,AbstractSecurityInterceptor,main] 验证的配置属性
[INFO,AbstractSecurityInterceptor,main] 验证的配置属性