50,523
社区成员
发帖
与我相关
我的任务
分享
2018-01-29 16:26:42.715 INFO 14600 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'primaryPersistenceUnit'
2018-01-29 16:26:42.871 WARN 14600 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bioPersonSyncBizImpl': Unsatisfied dependency expressed through field 'memberBiz'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'FaceRecBizGroupImpl': Unsatisfied dependency expressed through field 'zkFaceRegistrationService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ZKFaceRegistrationServiceImpl': Unsatisfied dependency expressed through field 'zkFaceRegistrationDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ZKFaceRegistrationDao': Cannot create inner bean '(inner bean)#7e5e7753' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#7e5e7753': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' available
2018-01-29 16:26:42.871 INFO 14600 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'primaryPersistenceUnit'
2018-01-29 16:26:42.871 INFO 14600 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'bioPersistenceUnit'
2018-01-29 16:26:42.893 INFO 14600 --- [ main] o.apache.catalina.core.StandardService : Stopping service Tomcat
2018-01-29 16:26:42.899 WARN 14600 --- [ main] o.s.boot.SpringApplication : Error handling failed (Error creating bean with name 'applicationStartInit' defined in file [D:\Program Files\workspace\sfas-server\zks-base\target\classes\com\zkteco\sys\contain\init\ApplicationStartInit.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available)
2018-01-29 16:26:42.961 ERROR 14600 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Field FaceRegistrationDao in com.zkteco.primary.service.impl.FaceRegistrationServiceImpl required a bean named 'entityManagerFactory' that could not be found.
Action:
Consider defining a bean named 'entityManagerFactory' in your configuration.
Disconnected from the target VM, address: '127.0.0.1:14503', transport: 'socket'
Process finished with exit code 1