我用的框架是struts2+spring+mybatis
TRACE o.s.b.factory.support.DefaultListableBeanFactory - No bean named 'org.apache.struts2.dispatcher.ServletActionRedirectResult' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@11fb2e0: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,textBookInfoService,tidingsService,treeService,universityService,userService,veneratorService,dataSource,transactionManager,sqlSessionFactory,sqlSessionTemplate,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,transactionPointcut,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0]; root of factory hierarchy
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Ignoring constructor [public org.apache.struts2.dispatcher.ServletActionRedirectResult(java.lang.String,java.lang.String,java.lang.String,java.lang.String)] of bean 'org.apache.struts2.dispatcher.ServletActionRedirectResult': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.struts2.dispatcher.ServletActionRedirectResult': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Ignoring constructor [public org.apache.struts2.dispatcher.ServletActionRedirectResult(java.lang.String,java.lang.String,java.lang.String)] of bean 'org.apache.struts2.dispatcher.ServletActionRedirectResult': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.struts2.dispatcher.ServletActionRedirectResult': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Ignoring constructor [public org.apache.struts2.dispatcher.ServletActionRedirectResult(java.lang.String,java.lang.String)] of bean 'org.apache.struts2.dispatcher.ServletActionRedirectResult': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.struts2.dispatcher.ServletActionRedirectResult': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Ignoring constructor [public org.apache.struts2.dispatcher.ServletActionRedirectResult(java.lang.String)] of bean 'org.apache.struts2.dispatcher.ServletActionRedirectResult': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.struts2.dispatcher.ServletActionRedirectResult': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Not autowiring property 'actionMapper' of bean 'org.apache.struts2.dispatcher.ServletActionRedirectResult' by name: no matching bean found
TRACE o.s.b.factory.support.DefaultListableBeanFactory - No bean named 'org.apache.struts2.views.freemarker.FreemarkerResult' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@11fb2e0: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,adminAction,analysisAction,imitationTestAction,informationManageAction,leaderManageAction,scoreAction,statisticAction,toamendActionorg.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0]; root of factory hierarchy
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Ignoring constructor [public org.apache.struts2.views.freemarker.FreemarkerResult(java.lang.String)] of bean 'org.apache.struts2.views.freemarker.FreemarkerResult': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.struts2.views.freemarker.FreemarkerResult': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [java.lang.String] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Not autowiring property 'freemarkerManager' of bean 'org.apache.struts2.views.freemarker.FreemarkerResult' by name: no matching bean found
TRACE o.s.b.factory.support.DefaultListableBeanFactory - Not autowiring property 'writer' of bean 'org.apache.struts2.views.freemarker.FreemarkerResult' by name: no matching bean found