Error filterStart

问题描述

鄙人才学java的Struts第一个程序就出现了问题,头疼,高手指教!struts.xml:<?xmlversion="1.0"encoding="UTF-8"?><!DOCTYPEstrutsPUBLIC"-//ApacheSoftwareFoundation//DTDStrutsConfiguration2.0//EN""http://struts.apache.org/dtds/struts-2.0.dtd"><struts><constantname="struts.devMode"value="true"/><packagename="default"namespace="/"extends="struts-default"><actionname="hell"><result>/Hello.jsp</result></action></package><!--Addpackageshere--></struts>一加上<constantname="struts.devMode"value="true"/>就出错报错:严重:Exceptionstartingfilterstruts2java.lang.NullPointerExceptionatcom.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209)atcom.opensymphony.xwork2.util.FileManager.fileNeedsReloading(FileManager.java:60)atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:325)atorg.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:168)atcom.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:220)atcom.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61)atorg.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774)atorg.apache.struts2.dispatcher.ng.InitOperations.initStaticContentLoader(InitOperations.java:77)atorg.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:49)atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4450)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)atorg.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)atorg.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:722)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)atorg.apache.catalina.core.StandardService.start(StandardService.java:516)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:710)atorg.apache.catalina.startup.Catalina.start(Catalina.java:583)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:597)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)2010-8-1111:37:39org.apache.catalina.core.StandardContextstart严重:ErrorfilterStart2010-8-1111:37:39org.apache.catalina.core.StandardContextstart严重:Context[/Struts2_0100_Introduction]startupfailedduetopreviouserrors

时间: 2024-10-14 21:29:30

Error filterStart的相关文章

又见SERVER: Error filterStart

      又耗费了将近的一天的时间,都是因为这个恼人的SERVER: Error filterStart.       今天要把原来一个运行良好的网站发布到另外一台服务器上,原本应该是很简单的事情,在估计任务时,我只给它了半天时间(其实已经是多的了,只需要安装Tomcat和新建一个数据库即可).可是当我把原来的程序复制到tomcat的webpps目录下以后,在浏览器输入地址浏览,才发现大事不妙,页面显示无法找到资源.首先想到的,就是查看tomcat的log.       7-Jul-10 10

由于JRE版本导致的Error filterStart问题

近两个星期一直被Tomcat的Error filterStart所困扰,明明运行很好的程序,换了电脑就不能运行了,今天终于发现了问题所在.下面是安装了Tomcat6.0以后得到的错误信息:2008-1-15 11:10:57 org.apache.catalina.startup.HostConfig deployDirectory严重: Error deploying web application directory juncsoftjava.lang.UnsupportedClassVer

第一个Struts2程序遇到问题,Error filterStart。启动服务器后出现异常,以后每次打开服务器都有异常发生,删除webapps下相应的目录后才能无异常启动服务器。

问题描述 严重:Exceptionstartingfilterstruts2Unabletoloadconfiguration.-bean-jar:file:/D:/Tomcat-6.0.18/webapps/FirstStruts2/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178atcom.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(

Myeclipse 10.7添加 Struts2 出现Error filterStart

问题描述 struts2用的是MyEclipse自带的严重:ErrorfilterStart2013-7-1815:24:17org.apache.catalina.core.StandardContextstartInternal严重:Context[/web03]startupfailedduetopreviouserrors2013-7-1815:24:17org.apache.catalina.loader.WebappClassLoadercheckThreadLocalMapForL

EOS启动遇到问题error filterStart,很急!!

问题描述 2007-12-3014:51:39org.apache.catalina.core.StandardContextstart严重:ErrorfilterStart2007-12-3014:51:39org.apache.catalina.core.StandardContextstart严重:Contextstartupfailedduetopreviouserrors各位老大,怎么解决啊!! 解决方案 解决方案二:...帮不上忙.我用的是方正的ES2007...

struts2-org.apache.catalina.core.StandardContext filterStart

问题描述 org.apache.catalina.core.StandardContext filterStart 2014-3-28 21:20:53 org.apache.catalina.core.AprLifecycleListener init 信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java

大神速度解决-SSH 启动出错 [unknown location]

问题描述 SSH 启动出错 [unknown location] 我用的注解Unable to load configuration. - [unknown location] at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) a

source-求教:运行任何页面404错误

问题描述 求教:运行任何页面404错误 之前不管写什么代码运行出来都是HTTP404未找到. 今天写了一个选座的html,运行出来页面是这样的. 控制台也顺便复制过来.拜托各位大神帮我看一下. 一月 01, 2015 10:52:09 上午 org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performa

struts2 tomcat5.0配置出错的解决

页面显示不出来,控制台提示: 严重: Error filterStart 2009-9-27 21:52:49 org.apache.catalina.core.StandardContext start 严重: Context startup failed due to previous errors 2009-9-27 21:52:50 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web appli