问题:

使用mybatis的分页插件时报错:net.sf.jsqlparser.statement.select.PlainSelect.getGroupBy()Lnet/sf/jsqlparse

 

原因:在使用mybatis分页插件时,需要依赖 jsqlparser。这个错误表示分页插件版本与依赖版本不匹配。建议多去尝试,高配高,低配低。

我的配置:

<dependency>
      <groupId>com.github.pagehelper</groupId>
      <artifactId>pagehelper</artifactId>
      <version>5.1.10</version>
    </dependency>
    <dependency>
      <groupId>com.github.jsqlparser</groupId>
      <artifactId>jsqlparser</artifactId>
      <version>3.1</version>
    </dependency>

参考博客:https://blog.csdn.net/weixin_42336011/article/details/104415100

https://www.cnblogs.com/dream-flying/articles/12841684.html

相关文章:

  • 2021-11-07
  • 2021-08-10
  • 2021-10-19
  • 2022-02-06
  • 2022-12-23
猜你喜欢
  • 2021-06-25
  • 2022-12-23
  • 2021-12-23
  • 2021-12-08
  • 2021-07-22
相关资源
相似解决方案