如图,maven中所有的依赖冲突都已经排除掉了,为啥还是报如下错误?

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2022-09-04 09:49:10.779 ERROR 19840 --- [ main] o.s.b.d.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.extension.plugins.inner.PaginationInnerInterceptor.<clinit>(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:/D:/maven/repository/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jar!/net/sf/jsqlparser/schema/Column.class

The class hierarchy was loaded from the following locations:

net.sf.jsqlparser.schema.Column: file:/D:/maven/repository/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jar

net.sf.jsqlparser.parser.ASTNodeAccessImpl: file:/D:/maven/repository/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of net.sf.jsqlparser.schema.Column

Disconnected from the target VM, address: '127.0.0.1:6712', transport: 'socket'

Process finished with exit code 1


回答:

我看错误信息是方法不存在。可以排查下 jsqlparser 包这里,我在搜索中发现和你类似的问题,可以看下其他人的回答看看能不能解决:https://segmentfault.com/q/10...


回答:

你可能保留了错误版本的jsqlparser

以上是 如图,maven中所有的依赖冲突都已经排除掉了,为啥还是报如下错误? 的全部内容, 来源链接: utcz.com/p/944713.html

回到顶部