method did not exist: com.baomidou.MybatisMapperAnnotationBuilder.getLanguageDriver

包冲突,缺少耐心和对英文的理解能力。

该方法的类com.baomidou.mybatisplus.core.MybatisConfiguration可从以下位置获得:
mybatis-3.5.0.jar
mybatis-plus-core-3.3.1.jar

官方:引入activiti流冲突了(或者说包被强制降级)
https://gitee.com/baomidou/mybatis-plus/issues/IXUDF


        <!-- https://mvnrepository.com/artifact/org.activiti/activiti-engine -->
        <dependency>
            <groupId>org.activiti</groupId>
            <artifactId>activiti-engine</artifactId>
            <version>7.1.0.M6</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.activiti/activiti-spring -->
        <dependency>
            <groupId>org.activiti</groupId>
            <artifactId>activiti-spring</artifactId>
            <version>7.1.0.M6</version>
        </dependency>
	
"C:\Program Files\Java\jdk1.8.0_131\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:49873,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_131\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_131;D:\javaPrograms\property\target\classes;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter-web\2.4.4\spring-boot-starter-web-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter\2.4.4\spring-boot-starter-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\yaml\snakeyaml\1.27\snakeyaml-1.27.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter-json\2.4.4\spring-boot-starter-json-2.4.4.jar;C:\apache-maven-3.5.4\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.4\jackson-datatype-jdk8-2.11.4.jar;C:\apache-maven-3.5.4\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.4\jackson-datatype-jsr310-2.11.4.jar;C:\apache-maven-3.5.4\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.4\jackson-module-parameter-names-2.11.4.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-WEB\5.3.5\spring-web-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-webmvc\5.3.5\spring-webmvc-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-expression\5.3.5\spring-expression-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\projectlombok\lombok\1.18.18\lombok-1.18.18.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter-tomcat\2.4.4\spring-boot-starter-tomcat-2.4.4.jar;C:\apache-maven-3.5.4\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\apache-maven-3.5.4\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.44\tomcat-embed-core-9.0.44.jar;C:\apache-maven-3.5.4\repository\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;C:\apache-maven-3.5.4\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.44\tomcat-embed-websocket-9.0.44.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-core\5.3.5\spring-core-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-jcl\5.3.5\spring-jcl-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.4.4\spring-boot-starter-thymeleaf-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\thymeleaf\thymeleaf-spring5\3.0.12.RELEASE\thymeleaf-spring5-3.0.12.RELEASE.jar;C:\apache-maven-3.5.4\repository\org\thymeleaf\thymeleaf\3.0.12.RELEASE\thymeleaf-3.0.12.RELEASE.jar;C:\apache-maven-3.5.4\repository\org\attoparser\attoparser\2.0.5.RELEASE\attoparser-2.0.5.RELEASE.jar;C:\apache-maven-3.5.4\repository\org\unbescape\unbescape\1.1.6.RELEASE\unbescape-1.1.6.RELEASE.jar;C:\apache-maven-3.5.4\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.4.RELEASE\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\apache-maven-3.5.4\repository\mysql\mysql-connector-java\8.0.19\mysql-connector-java-8.0.19.jar;C:\apache-maven-3.5.4\repository\com\baomidou\mybatis-plus-boot-starter\3.3.1\mybatis-plus-boot-starter-3.3.1.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-autoconfigure\2.4.4\spring-boot-autoconfigure-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter-jdbc\2.4.4\spring-boot-starter-jdbc-2.4.4.jar;C:\apache-maven-3.5.4\repository\com\zaxxer\HikariCP\3.4.5\HikariCP-3.4.5.jar;C:\apache-maven-3.5.4\repository\com\baomidou\mybatis-plus\3.3.1\mybatis-plus-3.3.1.jar;C:\apache-maven-3.5.4\repository\com\baomidou\mybatis-plus-extension\3.3.1\mybatis-plus-extension-3.3.1.jar;C:\apache-maven-3.5.4\repository\com\baomidou\mybatis-plus-core\3.3.1\mybatis-plus-core-3.3.1.jar;C:\apache-maven-3.5.4\repository\com\baomidou\mybatis-plus-annotation\3.3.1\mybatis-plus-annotation-3.3.1.jar;C:\apache-maven-3.5.4\repository\com\github\jsqlparser\jsqlparser\3.1\jsqlparser-3.1.jar;C:\apache-maven-3.5.4\repository\org\mybatis\mybatis-spring\2.0.3\mybatis-spring-2.0.3.jar;C:\apache-maven-3.5.4\repository\com\baomidou\mybatis-plus-generator\3.3.1\mybatis-plus-generator-3.3.1.jar;C:\apache-maven-3.5.4\repository\com\alibaba\druid-spring-boot-starter\1.1.10\druid-spring-boot-starter-1.1.10.jar;C:\apache-maven-3.5.4\repository\com\alibaba\druid\1.1.10\druid-1.1.10.jar;C:\apache-maven-3.5.4\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;C:\apache-maven-3.5.4\repository\org\freemarker\freemarker\2.3.28\freemarker-2.3.28.jar;C:\apache-maven-3.5.4\repository\org\apache\velocity\velocity-engine-core\2.3\velocity-engine-core-2.3.jar;C:\apache-maven-3.5.4\repository\org\apache\commons\commons-lang3\3.11\commons-lang3-3.11.jar;C:\apache-maven-3.5.4\repository\com\ibeetl\beetl\3.3.2.RELEASE\beetl-3.3.2.RELEASE.jar;C:\apache-maven-3.5.4\repository\org\antlr\antlr4-runtime\4.7.2\antlr4-runtime-4.7.2.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter-log4j2\2.4.4\spring-boot-starter-log4j2-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\apache\logging\log4j\log4j-slf4j-impl\2.13.3\log4j-slf4j-impl-2.13.3.jar;C:\apache-maven-3.5.4\repository\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;C:\apache-maven-3.5.4\repository\org\apache\logging\log4j\log4j-core\2.13.3\log4j-core-2.13.3.jar;C:\apache-maven-3.5.4\repository\org\apache\logging\log4j\log4j-jul\2.13.3\log4j-jul-2.13.3.jar;C:\apache-maven-3.5.4\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-starter-aop\2.4.4\spring-boot-starter-aop-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-aop\5.3.5\spring-aop-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\aspectj\aspectjweaver\1.9.6\aspectjweaver-1.9.6.jar;C:\apache-maven-3.5.4\repository\org\webjars\webjars-locator\0.32-1\webjars-locator-0.32-1.jar;C:\apache-maven-3.5.4\repository\org\webjars\webjars-locator-core\0.46\webjars-locator-core-0.46.jar;C:\apache-maven-3.5.4\repository\io\github\classgraph\classgraph\4.8.69\classgraph-4.8.69.jar;C:\apache-maven-3.5.4\repository\com\fasterxml\jackson\core\jackson-databind\2.11.4\jackson-databind-2.11.4.jar;C:\apache-maven-3.5.4\repository\org\webjars\bootstrap\3.3.7\bootstrap-3.3.7.jar;C:\apache-maven-3.5.4\repository\org\webjars\jquery\3.3.1\jquery-3.3.1.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-spring\1.5.3\shiro-spring-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-core\1.5.3\shiro-core-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-lang\1.5.3\shiro-lang-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-cache\1.5.3\shiro-cache-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-crypto-hash\1.5.3\shiro-crypto-hash-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-crypto-core\1.5.3\shiro-crypto-core-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-crypto-cipher\1.5.3\shiro-crypto-cipher-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-config-core\1.5.3\shiro-config-core-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-config-ogdl\1.5.3\shiro-config-ogdl-1.5.3.jar;C:\apache-maven-3.5.4\repository\commons-beanutils\commons-beanutils\1.9.4\commons-beanutils-1.9.4.jar;C:\apache-maven-3.5.4\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-event\1.5.3\shiro-event-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\apache\shiro\shiro-web\1.5.3\shiro-web-1.5.3.jar;C:\apache-maven-3.5.4\repository\org\owasp\encoder\encoder\1.2.2\encoder-1.2.2.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot-devtools\2.4.4\spring-boot-devtools-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\springframework\boot\spring-boot\2.4.4\spring-boot-2.4.4.jar;C:\apache-maven-3.5.4\repository\org\activiti\activiti-engine\7.1.0.M6\activiti-engine-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\activiti\api\activiti-api-runtime-shared\7.1.0.M6\activiti-api-runtime-shared-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\activiti\api\activiti-api-model-shared\7.1.0.M6\activiti-api-model-shared-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\activiti\core\common\activiti-project-model\7.1.0.M6\activiti-project-model-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\activiti\activiti-bpmn-converter\7.1.0.M6\activiti-bpmn-converter-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\activiti\activiti-bpmn-model\7.1.0.M6\activiti-bpmn-model-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\activiti\activiti-process-validation\7.1.0.M6\activiti-process-validation-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\apache\commons\commons-email\1.5\commons-email-1.5.jar;C:\apache-maven-3.5.4\repository\com\sun\mail\javax.mail\1.5.6\javax.mail-1.5.6.jar;C:\apache-maven-3.5.4\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\apache-maven-3.5.4\repository\org\mybatis\mybatis\3.5.0\mybatis-3.5.0.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-beans\5.3.5\spring-beans-5.3.5.jar;C:\apache-maven-3.5.4\repository\de\odysseus\juel\juel-api\2.2.7\juel-api-2.2.7.jar;C:\apache-maven-3.5.4\repository\de\odysseus\juel\juel-impl\2.2.7\juel-impl-2.2.7.jar;C:\apache-maven-3.5.4\repository\de\odysseus\juel\juel-spi\2.2.7\juel-spi-2.2.7.jar;C:\apache-maven-3.5.4\repository\com\fasterxml\jackson\core\jackson-core\2.11.4\jackson-core-2.11.4.jar;C:\apache-maven-3.5.4\repository\com\fasterxml\jackson\core\jackson-annotations\2.11.4\jackson-annotations-2.11.4.jar;C:\apache-maven-3.5.4\repository\joda-time\joda-time\2.10.5\joda-time-2.10.5.jar;C:\apache-maven-3.5.4\repository\org\slf4j\jcl-over-slf4j\1.7.30\jcl-over-slf4j-1.7.30.jar;C:\apache-maven-3.5.4\repository\org\activiti\activiti-spring\7.1.0.M6\activiti-spring-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\activiti\core\common\activiti-spring-project\7.1.0.M6\activiti-spring-project-7.1.0.M6.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-context\5.3.5\spring-context-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-jdbc\5.3.5\spring-jdbc-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-tx\5.3.5\spring-tx-5.3.5.jar;C:\apache-maven-3.5.4\repository\org\springframework\spring-orm\5.3.5\spring-orm-5.3.5.jar;C:\apache-maven-3.5.4\repository\javax\el\el-api\2.2\el-api-2.2.jar;C:\apache-maven-3.5.4\repository\commons-io\commons-io\2.8.0\commons-io-2.8.0.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.3\lib\idea_rt.jar" com.lixiaowu.property.PropertyApplication
Connected to the target VM, address: '127.0.0.1:49873', transport: 'socket'

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.4.4)

12:43:47.732 [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - 

***************************
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: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:/C:/apache-maven-3.5.4/repository/com/baomidou/mybatis-plus-core/3.3.1/mybatis-plus-core-3.3.1.jar!/com/baomidou/mybatisplus/core/MybatisConfiguration.class

The class hierarchy was loaded from the following locations:

    com.baomidou.mybatisplus.core.MybatisConfiguration: file:/C:/apache-maven-3.5.4/repository/com/baomidou/mybatis-plus-core/3.3.1/mybatis-plus-core-3.3.1.jar
    org.apache.ibatis.session.Configuration: file:/C:/apache-maven-3.5.4/repository/org/mybatis/mybatis/3.5.0/mybatis-3.5.0.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:49873', transport: 'socket'

Process finished with exit code 0

上一篇:C# Form内存回收


下一篇:MybatisPlus零基础到入门(一)