日期:2014-05-17  浏览次数:20705 次

什么情况,每次保存action 。就报这个信息
信息: Illegal access: this web application instance has been stopped already.  Could not load com.opensymphony.xwork2.ActionSupport.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
2013-10-3 17:10:28 org.apache.catalina.loader.WebappClassLoader loadClass
信息: Illegal access: this web application instance has been stopped already.  Could not load com.opensymphony.xwork2.ActionSupport.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

------解决方案--------------------
把eclipse关了重启试试
------解决方案--------------------
这个问题太少见了
------解决方案--------------------
 Could not load com.opensymphony.xwork2.ActionSupport


应该是没有吧struts2的包导进lib吧??
------解决方案--------------------
你的jar包有没有执行这个操作“add to built path”
------解决方案--------------------
Could not load com.opensymphony.xwork2.ActionSupport

缺包啊~~