net.sf.jsqlparser.statement.select.PlainSelect.getGroupByColumnReferences()Ljava/util/List;

问题还原:

Caused by: java.lang.NoSuchMethodError: net.sf.jsqlparser.statement.select.PlainSelect.getGroupByColumnReferences()Ljava/util/List;
	at com.github.pagehelper.parser.CountSqlParser.isSimpleCount(CountSqlParser.java:156)
	at com.github.pagehelper.parser.CountSqlParser.sqlToCount(CountSqlParser.java:135)
	at com.github.pagehelper.parser.CountSqlParser.getSmartCountSql(CountSqlParser.java:94)
	at com.github.pagehelper.dialect.AbstractHelperDialect.getCountSql(AbstractHelperDialect.java:81)
	at com.github.pagehelper.PageHelper.getCountSql(PageHelper.java:77)
	at com.github.pagehelper.PageInterceptor.executeAutoCount(PageInterceptor.java:193)
	at com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:113)
....

解决:
添加jar包:

<dependency>
  <groupId>com.github.jsqlparser</groupId>
  <artifactId>jsqlparser</artifactId>
  <version>1.4</version>
</dependency>
发布了104 篇原创文章 · 获赞 18 · 访问量 8597

猜你喜欢

转载自blog.csdn.net/y368769/article/details/105630207
今日推荐