JSON: property "xxx" has no getter method in class "..."

Exception in thread "main" net.sf.json.JSONException: java.lang.NoSuchMethodException: Property 'password' has no getter method 

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

 

郁闷了!!!

posted @ 2015-02-09 17:11  园芳宝贝  阅读(452)  评论(0编辑  收藏  举报