An attempt was made to call a method that does not exist. The attempt was made from the following location:
报错这个信息的一般是maven包冲突了,需要将冲突包给去掉
例如:
<!--actity流程图-->
<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>
<!--mybatis-plus-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.3.2</version>
</dependency>
这两个包中都包含了mybatis的包,产生了冲突,我就需要在第一个包中,加上
<exclusions>
<exclusion>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
</exclusion>
</exclusions>
表示,去除中的mybaits,保留mybatis-plus中的mybaits