org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException 转载自 原因是因为在Action类中注入bean的时候只能写set不能写get方法,所以解决办法就是去掉那个bean的get方法就好