Description:An attempt was made to call a method that does not exist. The attempt was made from the following location:com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor.(PaginationInnerInterceptor.java:70)The following method did not exist:net.sf.jsqlparser.schema.Column.withColumnName(Ljava/lang/String;)Lnet/sf/jsqlparser/schema/Column;The method's class, net.sf.jsqlparser.schema.Column, is available from the following locations:jar:file:/E:/apache-maven-3.8.1-bin/localMaven3.8.1/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jar!/net/sf/jsqlparser/schema/Column.classThe class hierarchy was loaded from the following locations:net.sf.jsqlparser.schema.Column: file:/E:/apache-maven-3.8.1-bin/localMaven3.8.1/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jarnet.sf.jsqlparser.parser.ASTNodeAccessImpl: file:/E:/apache-maven-3.8.1-bin/localMaven3.8.1/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jarAction:Correct the classpath of your application so that it contains a single, compatible version of net.sf.jsqlparser.schema.ColumnProcess finished with exit code 1
查阅资料说的是:Maven依赖冲突jar包冲突类冲突 ,
具体原因:多个jar包 中包含同一个类
解决思路:将The method’s class, javax.servlet.ServletContext, is available from the following locations: 提示的jar删除
根据他提示的报错地址,找到maven下载仓库里对应的jar包,然后删掉它,最后如上如所示在项目依赖里移除掉这个对应版本的jar包,直接在项目依赖里移除掉这个对应版本的jar包也可以