How to add pagehelper-spring-boot-starter?
wghdir opened this issue · comments
add
com.github.pagehelper
pagehelper-spring-boot-starter
1.4.6
@typehint(types = {PageHelper.class})
but run error
Error opening session.
Cause: org.apache.ibatis.plugin.PluginException: Could not find method on interface org.apache.ibatis.executor.Executor named query.
Cause: java.lang.NoSuchMethodException: org.apache.ibatis.executor.Executor.query(org.apache.ibatis.mapping.MappedStatement, java.lang.Object, org.apache.ibatis.session.RowBounds, org.apache.ibatis.session.ResultHandler)
Spring Native is now superseded by Spring Boot 3 official native support, see the related reference documentation for more details.
As a consequence, I am closing this issue, and recommend trying your use case with latest Spring Boot 3 version.
The starter you try to use seems to be a community maitained one so the issue is probably to open on community project side not Spring.