关于:Error creating bean with name 'org.apache.struts2.dispatcher.ServletDispatche
Pitt 2009-08-22 11:43:41 当Action执行完return success;后出现以下:
[code=Html]
No bean named 'org.apache.struts2.dispatcher.ServletDispatcherResult' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@45bf65: defining beans [OracleDStarget,OracleDS,sessionFactory,hibernateTemplate,UoAdmingroupDAO,UoAdminDAO,adminService,adminLoginAction,UoAdminappDAO,UoAdminappclassDAO]; root of factory hierarchy
Ignoring constructor [public org.apache.struts2.dispatcher.ServletDispatcherResult(java.lang.String)] of bean 'org.apache.struts2.dispatcher.ServletDispatcherResult': org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.apache.struts2.dispatcher.ServletDispatcherResult': Unsatisfied dependency expressed through constructor argument with index 0 of type [java.lang.String]: : No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [java.lang.String] is defined: Unsatisfied dependency of type [class java.lang.String]: expected at least 1 matching bean
[/code]
程序执行正常,这个异常不影响系统运行,但是看着不舒服。
请问是什么问题?