|
jeecg-boot版本1.0.0 现在集成 Activiti 5.22 启动不了。求助!
pom.xml添加依赖:- <dependency>
- <groupId>org.activiti</groupId>
- <artifactId>activiti-spring-boot-starter-basic</artifactId>
- <version>5.22.0</version>
- <exclusions>
- <exclusion>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- <version>2.1.4.RELEASE</version>
- </dependency>
复制代码 修改 JeecgApplication.java 文件- @SpringBootApplication(exclude={DataSourceAutoConfiguration.class, org.activiti.spring.boot.SecurityAutoConfiguration.class,})
复制代码 启动报错:- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 2019-06-11 14:07:03.595 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:42 -
- ***************************
- APPLICATION FAILED TO START
- ***************************
- Description:
- Parameter 0 of method transactionManager in org.activiti.spring.boot.JpaProcessEngineAutoConfiguration$JpaConfiguration required a bean of type 'javax.persistence.EntityManagerFactory' that could not be found.
- Action:
- Consider defining a bean of type 'javax.persistence.EntityManagerFactory' in your configuration.
- Process finished with exit code 1
复制代码 求助怎么解决?谢谢!
|
|