浏览 2616 次
该帖已经被评为隐藏帖
|
|
---|---|
作者 | 正文 |
发表时间:2010-03-15
DEBUG [http-8080-1] org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(507) | No bean named 'org.apache.struts2.dispatcher.ServletDispatcherResult' found in org.springframework.beans.factory.support.DefaultListableBeanFactory@e7f6eb: defining beans [dataSource,mySessionFactory,myTransactionManager,myBaseTransactionProxy,usersDAO,myLoginAction]; root of factory hierarchy DEBUG [http-8080-1] org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(196) | 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 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: {} 不知道这样的错误是什么原因导致的,那个地方的配置没有搞对,还是什么原因,比较头大,呵呵 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |