The following method did not exist: ‘org.apache.ibatis.scripting.LanguageDriver org.apache.ibat

目录

报错内容

错误原因

 解决办法


瞎想:在若依框架的基础上整合activiti这一过程就像升级打怪一样,遇到问题——解决了问题还会遇到新的问题,就这样吧,一步一步来,总会把activiti运用到得心应手的地步

接着上个问题The bean ‘methodSecurityInterceptor‘, defined in class path resource []could not be registered解决完之后又出现了新的错误,请看:

报错内容

***************************
APPLICATION FAILED TO START
***************************

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:384)

The following method did not exist:

    'org.apache.ibatis.scripting.LanguageDriver org.apache.ibatis.session.Configuration.getLanguageDriver(java.lang.Class)'

The method's class, org.apache.ibatis.session.Configuration, is available from the following locations:

    jar:file:/D:/MavenRepository/org/mybatis/mybatis/3.4.2/mybatis-3.4.2.jar!/org/apache/ibatis/session/Configuration.class

It was loaded from the following location:

    file:/D:/MavenRepository/org/mybatis/mybatis/3.4.2/mybatis-3.4.2.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of org.apache.ibatis.session.Configuration


进程已结束,退出代码为 0

错误原因

依赖包有重复

 解决办法

 将重复的依赖包移除

        <dependency>
            <groupId>org.activiti</groupId>
            <artifactId>activiti-spring-boot-starter</artifactId>
            <version>7.1.0.M4</version>
            <exclusions>
                <exclusion>
                    <artifactId>mybatis</artifactId>
                    <groupId>org.mybatis</groupId>
                </exclusion>
            </exclusions>
        </dependency>

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序媛七分

随多随少随你心意^-^

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值