Results 488 comments of Liuzh

我这里的启动日志中: ```java MapperAutoConfiguration matched: - @ConditionalOnBean (types: org.apache.ibatis.session.SqlSessionFactory; SearchStrategy: all) found bean 'sqlSessionFactory' (OnBeanCondition) PageHelperAutoConfiguration matched: - @ConditionalOnBean (types: org.apache.ibatis.session.SqlSessionFactory; SearchStrategy: all) found bean 'sqlSessionFactory' (OnBeanCondition) ```

你使用的 spring boot,以及 pagehelper 和 mapper 的 starter 版本是多少?

@zollty 这个错误只有配置错的时候才会出现,就是没有处理通用接口方法导致的。

@zollty 你用mapper-starter了吗?这个项目会自动处理通用接口。

@fengcbo 这种情况会在初始化完成前调用,所以会出错。

如果是3.5.0和1.2.0starter,你可以先配置为 `mapper.ORDER=BEFORE` 试试,最新代码已经完全支持 spring boot 原生的 relax 赋值,还需要处理一部分issue后才会正式发布。

在`PageInterceptor`的`if (!dialect.skip(ms, parameter, rowBounds)) {` 这行断点,看能不能进来。

说明starter没起到作用。和 mybatis.tk 上面的项目对比看看。