java 紧急问题,不知道要怎么解决,明天就要上交了
[ERROR]DispatcherServlet-Contextinitializationfailed<org.springframework.beans.factor...
[ERROR] DispatcherServlet - Context initialization failed <org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'APIController': Unsatisfied dependency expressed through field 'apiExecuter'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiExecuter': Unsatisfied dependency expressed through field 'apiManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiManager': Unsatisfied dependency expressed through field 'spotFileUploadAllAPIServiceImpl'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'spotFileUploadAllAPIServiceImpl': Unsatisfied dependency expressed through field 'ooHAPPAndroidVersionInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oohAPPAndroidVersionInfoDao' defined in URL [jar:file:/D:/java/apache-maven-3.2.5/repr/com/dentsuaegis/ooh-monitor-dao-common/1.0.0/ooh-monitor-dao-common-1.0.0.jar!/com/dentsuaegis/dao/common/dao/impl/OOHAPPAndroidVersionInfoDaoImpl.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required>org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'APIController': Unsatisfied dependency expressed through field 'apiExecuter'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiExecuter': Unsatisfied dependency expressed through field 'apiManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'apiManager': Unsatisfied dependency expressed through field 'spotFileUploadAllAPIServiceImpl'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'spotFileUploadAllAPIServiceImpl': Unsatisfied dependency expressed through field 'ooHAPPAndroidVersionInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'oohAPPAndroidVersionInfoDao' defined in URL [jar:file:/D:/java/apache-maven-3.2.5/repr/com/dentsuaegis/ooh-monitor-dao-common/1.0.0/ooh-monitor-dao-common-1.0.0.jar!/com/dentsuaegis/dao/common/dao/impl/OOHAPPAndroidVersionInfoDaoImpl.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569) 展开
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询