橘猫敲代码 2021-11-18 14:26 采纳率: 64.1%
浏览 55
已结题

SSM Spring整合 分页查询报错

img


Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-dao.xml]: Cannot create inner bean 'com.github.pagehelper.PageHelper#7bdd3627' of type [com.github.pagehelper.PageHelper] while setting bean property 'plugins' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.pagehelper.PageHelper#7bdd3627' defined in class path resource [spring-dao.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'properties' of bean class [com.github.pagehelper.PageHelper]: Bean property 'properties' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
不知道咋搞了

  • 写回答

3条回答 默认 最新

  • 高建伟-joe 2021-11-18 16:01
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 11月27日
  • 已采纳回答 11月19日
  • 创建了问题 11月18日