项目场景:
启动项目:获取列表数据报错,测试时,接口没报错,对接前台页面报错:
Caused by: java.lang.NoSuchMethodError: net.sf.jsqlparser.statement.select.PlainSelect.getGroupByCol
问题描述:
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.2.5</version>
</dependency>
原因分析:
自己的Pagehelper插件版本太低
解决方案:
升级Pagehelper版本,解决!!!