Property has no getter method json

场景:错误:JSON: property "xxx" has no getter method in class

异常:JSON: property "xxx" has no getter method in class

异常:JSON: property "xxx" has no getter method in class ""

解决:声明bean为public class xxx,必须是public,我用默认类型(class xxx)都不行