Spring Boot 2.1 +mybatisPlus3.1.2+activiti6整合
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.baomidou.mybatisplus.core.MybatisMapperAnnotationBuilder.getLanguageDriver(MybatisMapperAnnotationBuilder.java:369)
The following method did not exist:
com.baomidou.mybatisplus.core.MybatisConfiguration.getLanguageDriver(Ljava/lang/Class;)Lorg/apache/ibatis/scripting/LanguageDriver;
The method's class, com.baomidou.mybatisplus.core.MybatisConfiguration, is available from the following locations:
jar:file:/D:/m2/.m2/repository/com/baomidou/mybatis-plus-core/3.1.2/mybatis-plus-core-3.1.2.jar!/com/baomidou/mybatisplus/core/MybatisConfiguration.class
It was loaded from the following location:
file:/D:/m2/.m2/repository/com/baomidou/mybatis-plus-core/3.1.2/mybatis-plus-core-3.1.2.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of com.baomidou.mybatisplus.core.MybatisConfiguration
Disconnected from the target VM, address: '127.0.0.1:50948', transport: 'socket'
Process finished with exit code 1
--------------------------------------------------------------------------------
解决方法:
pom.xml配置如下:
<dependency> <groupId>org.activiti</groupId> <artifactId>activiti-spring-boot-starter-basic</artifactId> <version>6.0.0</version> <exclusions> <exclusion> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> </exclusion> </exclusions> </dependency>
application.yml配置文件如下:
spring: activiti: check-process-definitions: false database-schema-update: true
上一篇: emoji 表情存储
下一篇: emoji 表情存储
推荐阅读
-
spring boot整合redis实现shiro的分布式session共享的方法
-
Spring Boot与Kotlin 整合全文搜索引擎Elasticsearch的示例代码
-
Spring boot怎么整合Mybatis
-
spring boot整合mybatis+mybatis-plus的示例代码
-
Spring Boot 2.X整合Spring-cache(让你的网站速度飞起来)
-
Spring Boot入门系列八(SpringBoot 整合Mybatis)
-
Spring Boot整合Spring Security的示例代码
-
Spring Boot2.X整合消息中间件RabbitMQ原理简浅探析
-
Spring Boot认证:整合Jwt
-
Spring Boot 2整合Redis做缓存