sist 发表于 2019-10-23 09:15:18

引用activiti-spring-boot-starter-basic报错

不同版本的错误信息不同,以jeecgboot1.1.0和activiti-spring-boot-starter-basic 5.23.0为例,在添加exclude= SecurityAutoConfiguration.class后,启动提示Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'quartzJobController': Unsatisfied dependency expressed through field 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in class path resource : Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate : Factory method 'quartzScheduler' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'transactionManager' defined in class path resource : Unsatisfied dependency expressed through method 'transactionManager' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'javax.persistence.EntityManagerFactory' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2019-10-23 09:03:05.971 INFOorg.apache.catalina.core.StandardService:180 - Stopping service
页: [1]
查看完整版本: 引用activiti-spring-boot-starter-basic报错