如图,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
阅读 4.1k
2 个回答
✓ 已被采纳

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

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题