萝卜头vv 2017-03-23 07:21 采纳率: 50%
浏览 2794
已采纳

druid配置自定义拦截器

1使用com.alibaba.druid.pool.DruidDataSource配置读写分离数据库链接这个没问题
2怎么配置自定义拦截器?
错误提示
used by: org.springframework.beans.NotWritablePropertyException: Invalid property 'plugins' of bean class [com.alibaba.druid.pool.DruidDataSource]: Bean property 'plugins' is not writable or has an invalid setter method. Does the parameter type of the setter match the return typ
e of t
谁用com.alibaba.druid.pool.DruidDataSource配置过读写分离数据库
再加自定义拦截器?

  • 写回答

1条回答 默认 最新

  • 萝卜头vv 2017-03-23 07:50
    关注

    都没人用过mybatis分页拦截器吗?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?