码迷,mamicode.com
首页 > 编程语言 > 详细

springBoot JPA PageAble分页查询出错,PropertyReferenceException: No property creation found for type

时间:2019-04-18 22:08:08      阅读:376      评论:0      收藏:0      [点我收藏+]

标签:划线   默认   ref   reference   ring   exce   ram   spring   creat   

PropertyReferenceException: No property creation found for type

 

@RequestParam(required = false, defaultValue = "1") Integer page,
@RequestParam(required = false, defaultValue = "10") Integer size,
@RequestParam(required = false, defaultValue = "DESC") String direction,
@RequestParam(required = false, defaultValue = "creationTime") String sort) {

分页属性默认值不能有下划线,和实体类相关时要和实体类名称一致 ,不然会出错 No property creation found for type

 

springBoot JPA PageAble分页查询出错,PropertyReferenceException: No property creation found for type

标签:划线   默认   ref   reference   ring   exce   ram   spring   creat   

原文地址:https://www.cnblogs.com/CHWLearningNotes/p/10732412.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!