org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error invoking SqlProvider method (com.btb.statistics.mapper.marketing.ReportUserTradeDetailProvider.insertSelective). Cause: java.lang.IllegalAccessException: Class org.apache.ibatis.builder.annotation.ProviderSqlSource can not access a member of class com.btb.statistics.mapper.marketing.ReportUserTradeDetailProvider with modifiers ""
错误信息大致情况
类必须是公开的,反射不通过。
@Param 最好加上 @InsertProvider