JSON: property "xxx" has no getter method in class "..." 博客分类: j2se jsonBeanJava.netthread
程序员文章站
2024-02-24 20:02:58
...
Exception in thread "main" net.sf.json.JSONException: java.lang.NoSuchMethodException: Property 'name' has no getter method
解决:声明bean为public class xxx,必须是public,我用默认类型(class xxx)都不行
解决:声明bean为public class xxx,必须是public,我用默认类型(class xxx)都不行