日期:2014-05-16 浏览次数:20443 次
我在使用struts+hibernate+spring+jquery进行异步请求的时候在火狐浏览器上的控制台上报了这个样的一个异常:
<html><head><title>Apache Tomcat/6.0.36 - Error report</title><style><!--H1 {font-family:Tahoma,Arial
,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif
;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color
:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black
;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76
;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black
;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - org.apache
.struts2.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException
: java.lang.IllegalAccessException: Class org.apache.struts2.json.JSONWriter can not access a member
of class org.springframework.aop.TruePointcut with modifiers "public"</h1><HR size="1" noshade
="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>org.apache.struts2.json.JSONException
: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: java.lang.IllegalAccessException
: Class org.apache.struts2.json.JSONWriter can not access a member of class org.springframework.aop.TruePointcut
with modifiers "public"</u></p><p><b>description</b> <u>The server encountered an internal
error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>org.apache.struts2
.json.JSONException: org.apache.struts2.json.JSONException: org.apache.struts2.json.JSONException: org
.apache.struts2.json.JSONException: java.lang.IllegalAccessException: Class org.apache.struts2.json.JSONWriter
can not access a member of class org.springframework.aop.TruePointcut with modifiers "public"
;
org.apache.struts2.json.JSONWriter.bean(JSONWriter.java:230)
org.apache.struts2.json.JSONWriter.process(JSONWriter.java:160)
org.apache.struts2.json.JSONWriter.value(JSONWriter.java:126)
org.apache.struts2.json.JSONWriter.write(JSONWriter.java:94)
org.apache.struts2.json.JSONUtil.serialize(JSONUtil.java:115)
org.apache.struts2.json.JSONResult.createJSONString(JSONResult.java:197)
org.apache.struts2.json.JSONResult.execute(JSONResult.java:170)
com.opensymphony.xwork2.Defa