tomcat-Exception starting filter strutsFilterDispatcher

问题描述

Exception starting filter strutsFilterDispatcher

严重: Exception starting filter strutsFilterDispatcher
java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.struts2.convention.SEOActionNameBuilder.build(SEOActionNameBuilder.java:69)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.determineActionName(PackageBasedActionConfigBuilder.java:601)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:445)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:278)
at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:52)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:200)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
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.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2014-10-9 17:59:41 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.struts2.convention.SEOActionNameBuilder.build(SEOActionNameBuilder.java:69)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.determineActionName(PackageBasedActionConfigBuilder.java:601)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration(PackageBasedActionConfigBuilder.java:445)
at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:278)
at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:52)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:200)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48)
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.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2014-10-9 17:59:41 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2014-10-9 17:59:41 org.apache.catalina.core.StandardContext start
严重: Context [/StudentStudy] startup failed due to previous errors
2014-10-9 17:59:41 org.apache.catalina.core.ApplicationContext log

解决方案

好像我之前也碰到过这个问题,凭印象的话,应该是,缺包或引入的包的版本不一致

解决方案二:

这项目之前好使,隔了个十一回来再试就来问题了,莫名其妙,求大神解读

时间: 2024-09-26 03:21:15

tomcat-Exception starting filter strutsFilterDispatcher的相关文章

tomcat6-struts2下的“Exception starting filter struts2”错误

问题描述 struts2下的"Exception starting filter struts2"错误 这是错误 三月 29, 2015 8:54:05 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error 严重: Dispatcher initialization failed Unable to load configuration. - action - file:/D:/Tomcat6.0/Tom

严重: Exception starting filter characterEncoding

问题描述 web.xml<?xml version="1.0" encoding="UTF-8"?><web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ht

Struts2 严重: Exception starting filter struts2问题

问题描述 2010-4-2617:21:06org.apache.catalina.core.StandardContextfilterStart严重:Exceptionstartingfilterstruts2Unabletoloadbean:type:class:com.opensymphony.xwork2.ObjectFactory-bean-jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/

struts2配置错误 严重: Exception starting filter struts2

问题描述 错误信息如下:包都全了,2.0的.但是总是失败,请教原因2011-3-2918:55:15com.opensymphony.xwork2.config.providers.XmlConfigurationProviderregister信息:Parsingconfigurationfile[struts-default.xml]2011-3-2918:55:15org.apache.catalina.core.StandardContextfilterStart严重:Exception

Exception starting filter struts2

问题描述 org.apache.catalina.core.StandardContextfilterStart严重:Exceptionstartingfilterstruts2[unknownlocation]atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:835)atcom.opensymphony.

严重: Exception starting filter struts2!!!!高手指点

问题描述 严重:Exceptionstartingfilterstruts2java.lang.ClassNotFoundException:org.apache.struts2.dispather.FilterDispacheratorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)atorg.apache.catalina.loader.WebappClassLoader.loa

tomcat在Myeclipse启动报错

问题描述 tomcat在Myeclipse启动报错 tomcat在myeclipse中配置好后,启动时报错,出现apache.coyte.Abstractprotocol destory 解决方案 工作区中没有任何的项目,装好MyEclipse,然后配置好Tomcat,启动就出现 2011-3-26 11:39:04 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Nati

TOMCAT不能加载项目的问题,哪位帮我看看啊,万分感谢..急啊

问题描述 ?我自己有个项目,是对的,在自己的TOMCAT上跑都是对的,现在我放别人的TOMCAT下去跑,但是就出现问题了,我在想可能是他TOMCAT上少什么或者哪儿设置了,你帮我看看,怎么解决哈2008-6-26 9:42:32 org.apache.catalina.core.StandardHostDeployer install信息: Processing Context configuration file URL file:C:ahmahmWebconfCatalinalocalhos

解决tomcat引入spring容器出错

错误1: log4j:WARN Please initialize the log4j system properly. 2013-1-15 20:22:28 org.apache.catalina.core.StandardContext filterStart 严重: Exception starting filter struts2 Class: com.opensymphony.xwork2.spring.SpringObjectFactory File: SpringObjectFac