读取json异常
1.Classorg.apache.struts2.json.JSONWritercannotaccessamemberofclassorg.springframework.aop.TruePointcutwithmodifiers"public"
2.java.lang.IllegalAccessException:Classorg.apache.struts2.json.JSONWritercannotaccessamemberofclassorg.springframework.aop.TruePointcutwithmodifiers"public"
3.org.apache.struts2.json.JSONException:java.lang.IllegalAccessException:Classorg.apache.struts2.json.JSONWritercannotaccessamemberofclassorg.springframework.aop.TruePointcutwithmodifiers"public"
4.org.apache.struts2.json.JSONException:org.apache.struts2.json.JSONException:java.lang.IllegalAccessException:Classorg.apache.struts2.json.JSONWritercannotaccessamemberofclassorg.springframework.aop.TruePointcutwithmodifiers"public"
5.org.apache.struts2.json.JSONException:org.apache.struts2.json.JSONException:org.apache.struts2.json.JSONException:java.lang.IllegalAccessException:Classorg.apache.struts2.json.JSONWritercannotaccessamemberofclassorg.springframework.aop.TruePointcutwithmodifiers"public"
使用spring注入service,把get方法去掉。因返回一个reader对象