当前位置: 代码迷 >> Java Web开发 >> SEVERE: Exception starting filter struts2,该怎么处理
  详细解决方案

SEVERE: Exception starting filter struts2,该怎么处理

热度:10619   发布时间:2013-02-25 21:20:49.0
SEVERE: Exception starting filter struts2
项目在本地运行没错,发布到网上空间,启动tomcat报错!
Java code
Jun 17, 2010 12:29:28 AM org.apache.catalina.core.ApplicationContext logINFO: SessionListener: contextDestroyed()Jun 17, 2010 12:29:28 AM org.apache.catalina.core.ApplicationContext logINFO: ContextListener: contextDestroyed()Jun 17, 2010 12:29:37 AM org.apache.catalina.core.ApplicationContext logINFO: Initializing Spring root WebApplicationContextJun 17, 2010 12:29:43 AM org.apache.catalina.core.StandardContext filterStartSEVERE: Exception starting filter struts2Unable to load configuration. - Class: java.security.AccessControlContextFile: AccessControlContext.javaMethod: checkPermissionLine: 323 - java/security/AccessControlContext.java:323:-1    at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)    at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)    at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108).....


------解决方案--------------------------------------------------------
加入struts2的jar包没
------解决方案--------------------------------------------------------
很大的可能就是网上的环境跟你本地的环境不一样
------解决方案--------------------------------------------------------
jar包应该不是问题,他肯定是一个war包扔上去的!
------解决方案--------------------------------------------------------
你的过滤器报错了
  相关解决方案