摘要:
JSON: Property 'xxx' has no getter method in class 'class xxx'JSONArray jsonArr = new JSONArray();jsonArr.add(new Student("name")); 对于上述内容,错误是出在第二行。net.sf.json.JSONException: java.lang.NoSuchMethodException: Property 'name' has no getter method in class 'Student 阅读全文