Exception starting filter struts2 Unable to load configuration. [问题点数:40分,结帖人ly281400407]

Bbs1
本版专家分:1
结帖率 66.67%
Bbs7
本版专家分:18270
Bbs7
本版专家分:18270
Bbs7
本版专家分:18270
Bbs5
本版专家分:4024
Bbs5
本版专家分:4024
Bbs1
本版专家分:1
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs2
本版专家分:167
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs1
本版专家分:0
启动tomcat时 严重: Exception starting filter struts2
2009-3-11 15:05:31 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomca
Exception starting filter struts2 Unable to load configuration. - [unknown location]
把项目重新部署,出现这个错误 Exception <em>starting</em> <em>filter</em> <em>struts2</em> Unable to <em>load</em> <em>configuration.</em> - [unknown location]  at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:431)  at org.apache.<em>struts2</em>.di
严重: Exception starting filter struts2 --Unable to load configuration
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em> Unable to <em>load</em> <em>configuration.</em> - [unknown location] at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58) at org.a
报错处理:严重: Exception starting filter struts2 ,Unable to load configuration
在做hibernate和<em>struts2</em>的整合项目的时候,启动服务器时出现报错
Struts2Exception starting filter 错误
-
严重: Exception starting filter struts2 Unable to load configuration. - bean
搜索到的结果一般都是说缺少struts的jar包,commons-fileup<em>load</em>-1.2.1.jar、或者<em>struts2</em>-spring-plugin-2.1.6.jar... 其实不止是缺少包会发生这种错误,包添加重复也会发生这种错误,比如说我。。。看完lib文件夹之后发现,每个包都有两个版本,删完之后直接运行还是有问题。于是,又把project clean了一下,重新发布就可以。
严重: Exception starting filter struts2 Unable to load configuration.
错误提示:Unable to <em>load</em> <em>configuration.</em> - bean -jar:file:/C:/Users/Administrator/Workspaces/MyEclipse%208.5/.metadata/.me_tcat/webapps/rsgl/WEB-INF/lib/<em>struts2</em>-core-2.3.16.jar!/struts-default.xml:40:72错误原因...
Exception starting filter struts2!!!
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnjava.lang.ClassNotFoundException: org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1355)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1201)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:209)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:77)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3634)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)rn at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)rn at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:551)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)rn2010-3-19 12:11:56 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2010-3-19 12:11:56 org.apache.catalina.core.StandardContext startrn严重: Context [/Struts] startup failed due to previous errorsrn2010-3-19 12:11:56 org.apache.catalina.core.ApplicationContext logrnrnrnrn所用包为commons-logging-api-1.1.jar、freemarker.jar、ognl-2.6.11.jar、<em>struts2</em>-core-2.0.12.jar、xwork-2.0.6.jar还加了一个commons-fileup<em>load</em>-1.2.1.jar。rnweb.xml:rnrnrn rn strutsrn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn rn rn strutsrn /*rnrnrnrn早上一直在找原因,网上的解答都不能解决。环境MyEclipse5.5、<em>struts2</em>rn求解。。
Unable to load configuration. - action 解决方案(struts 2 学习笔记)
这几天刚刚才是 学习 struts 2.1.6 其中碰到了一些错误   但也得到解决 不过很愿意将这些 错误 记录下来 作为进步的标识   也和大家一同分享一下 学习的乐趣 /error.jsp 由于手误将上面代码中的 /error.jsp 敲些成了 /error.jsp 故导致了线面的错误: 严重: Exception <em>starting</em> fi
Unable to load configuration. - bean - jar:file:/D:/Struts2/workp/.metadata/.me_
2010-5-13 8:59:26 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded Apache Tomcat Native
struts2出现Unable to load configuration. - bean - jar:file:/...struts-default.xml问题
新建了一个<em>struts2</em>.1.6项目,代码什么的都没有添加 呢,就一个Hello world , web.xml与struts.xml配置正常,发布项目到tomcat7.0中,当启动tomcat时报错: Unable to <em>load</em> <em>configuration.</em> - bean - jar:file:/D:..........lib/<em>struts2</em>-core-2.1.6.jar!/struts-d
unable to load bean jar包冲突
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>Unable to <em>load</em> bean: type:com.opensymphony.xwork2.util.ValueStackFactory class:com.opensymphony.xwork2.ognl.OgnlValueStackFactory - bean - jar:file:/C:/Tomcat%206.0/webapps/TestStruts/WEB-INF/lib/<em>struts2</em>-cor
struts2 jar包导入Unable to load configuration. - bean问题原因及解决办法
<em>struts2</em> jar包导入Unable to <em>load</em> <em>configuration.</em> - bean问题原因及解决方案初学<em>struts2</em>遇到的问题及解决办法,希望能对大家有所帮助。问题: 首先配置好<em>struts2</em>项目后,启动tomcat出现如下错误提示(很长)主要看的部分如下: 严重: Dispatcher initialization failed Unable to <em>load</em> con
严重: Exception starting filter struts2
[color=#ff0000][color=#FF0000][color=#FF0000]信息: Initializing Spring root WebApplicationContextrn2012-6-10 10:50:49 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - [unknown location]rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4072)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1284)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1382)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: Unable to <em>load</em> <em>configuration.</em> - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:374)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:418)rn ... 16 morernCaused by: Caught <em>exception</em> while <em>load</em>ing file struts-default.xml - [unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:902)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:143)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:110)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:168)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 18 morernCaused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurationrn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)rn at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.(SAX2DOM.java:69)rn at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:205)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:190)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:181)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:167)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:107)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:893)rn ... 22 morern2012-6-10 10:50:49 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2012-6-10 10:50:49 org.apache.catalina.core.StandardContext start[/color][/color][/color]
Unable to load configuration.
Unable to <em>load</em> <em>configuration.</em> - bean - jar:file:/D:/projects/tomcat/temp/2-training-management-portlet/WEB-INF/lib/<em>struts2</em>-core-2.1.8.1.jar!/struts-default.xml:29:72rnrn用的jar包有:rnxwork-core-2.1.6.jar,<em>struts2</em>-core-2.1.8.1.jar,ognl-2.7.3.jar,freemarker-2.3.15.jar,commons-logging-1.0.4.jar,commons-io-1.3.2.jar,commons-fileup<em>load</em>-1.2.1.jarrnrnstruts.xmlrnrnrn rn rn rn rn /view.jsprn rn rnrnrnweb.xmlrn <em>struts2</em>rn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn <em>struts2</em>rn /* rnrn
严重: Exception starting filter struts2 ??
-
项目启动报错严重: Exception starting filter struts2 Unable to load configuration. - [unk
INFO XmlBeanDefinitionReader:323 - Loading XML bean definitions from class path resource 17:38:39,93
SSH相关断网不能访问的解决方案
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em> Unable to <em>load</em> <em>configuration.</em> - action - file:/D:/Webserver/apache-tomcat-6.0.26/webapps/liwan_lw/WEB-INF/classes/struts.xml:7:65  at org.apache.<em>struts2</em>.dispatc
Struts2 严重: Exception starting filter 记得换jar!
巨坑呐,遇见这个问题,jar也都导了,代码检查来检查去,我一个入门的例子,才几个页面要不要这么坑! 各种百度我去,各种解决办法实施,都毫无用处。 后面重新下载了一个<em>struts2</em>的jar包更换后有用了,之前用的是struts-2.5.13,不知道是包的问题还是我自己弄坏了,后面换成struts-2.3.14,重新导入进WEB-INF/bin里面就行了。 遇见这个问题先检查你该导的包导进去没有别
Unable to load configuration. - package
我改了一个类的名字,其中有个错误,改了以后就访问不了网页了,显示错误Unable to <em>load</em> <em>configuration.</em> - packagern这是怎么回事?
Exception starting filter struts2问题
严重: Exception <em>starting</em> <em>filter</em> struts 2rnjava.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactoryrn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.(FilterDispatcher.java:149)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)rn at java.lang.reflect.Constructor.newInstance(Unknown Source)rn at java.lang.Class.newInstance0(Unknown Source)rn at java.lang.Class.newInstance(Unknown Source)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:255)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2009-6-13 21:22:35 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2009-6-13 21:22:35 org.apache.catalina.core.StandardContext startrn严重: Context [/<em>struts2</em>_userlogin] startup failed due to previous errorsrn2009-6-13 21:22:35 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2009-6-13 21:22:35 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2009-6-13 21:22:35 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/16 config=nullrn2009-6-13 21:22:35 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1793 msrnrnweb.xml配置rnrn rn Struts Blankrnrn rn struts 2rn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn rnrn rn struts 2rn /*rn rnrn rn index.jsprn rnrnrnrnstruts.xmlrnrn rn rn rn rn rn rn success.htmlrn rn rnrnrn6个jar包:freemarker 、ognl 、<em>struts2</em>-core 、 xwork 、commons-fileup<em>load</em> 、commons-logging我都加了,试了好长时间无法解决,希望大家帮忙看看问题出处,小弟先谢了~rnrnn[b]问题补充:[/b]n为什么会出现这个警告:rnCould not parse struts.locale setting, substituting default VM localernrn以下两种解答都试了,没有解决~我是按照书上的实例在练习,所以用的不是最新的jar包~另外我的6个包都加在Referenced-Libraries中,lib中并无显示~rnn[b]问题补充:[/b]n照做了还是不行,应该是差jar包吧,org.apache.catalina是哪个包下的啊?n[b]问题补充:[/b]n没有解决,不过分还是给lovewhzlq同志了~
【JavaEE-bug集合】Exception starting filter [struts2] Unable to load configuration.
出现这个问题一般是struts.xml配置文件没有配置好,之前由于我把class属性值写成了包名的路径,导致出错了,应该是class的完整路径名。 错误:配置文件的第八行class属性路径没有写到类名,只写到了包名 四月 13, 2018 11:20:39 下午 org.apache.catalina.core.StandardContext <em>filter</em>Start 严重: Exceptio...
struts部署不成功Dispatcher initialization。failed Unable to load configuration.
严重: Dispatcher initialization failed Unable to <em>load</em> <em>configuration.</em> - bean - jar:file:/D:/Workspaces/
Unable to load configuration的解决方法
最近在学Struts2.5.5,因为喜欢用最新的,并且之前没有学习过的经验,就按照一个网上的博客跟着做一个小实例。里面说直接用 Struts2.5.5中自带例子的struts.xml文件,结果我就用了,然后写了一个小程序就一直报 Unable to <em>load</em> configuration那个错误。网上说 少了包,要添加<em>struts2</em>-spring-plugin-2.5.5 .jar这个包,但是我
struts2和json的整合
一.struts 2 配置action json格式 是启动tomcat异常 异常信息: 严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em> Unable to <em>load</em> <em>configuration.</em> - [unknown location] at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.ja
Exception starting filter struts2启动错误
信息: Initializing Spring root WebApplicationContextrn2010-7-3 9:10:21 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rn[unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:835)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:131)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>(DefaultConfiguration.java:130)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:395)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:205)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: struts.apache.org - [unknown location]rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:123)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:830)rn ... 34 morernCaused by: java.net.UnknownHostException: struts.apache.orgrn at java.net.PlainSocketImpl.connect(Unknown Source)rn at java.net.SocksSocketImpl.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at sun.net.NetworkClient.doConnect(Unknown Source)rn at sun.net.www.http.HttpClient.openServer(Unknown Source)rn at sun.net.www.http.HttpClient.openServer(Unknown Source)rn at sun.net.www.http.HttpClient.(Unknown Source)rn at sun.net.www.http.HttpClient.New(Unknown Source)rn at sun.net.www.http.HttpClient.New(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)rn at javax.xml.parsers.SAXParser.parse(Unknown Source)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:121)rn ... 35 morern2010-7-3 9:10:21 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2010-7-3 9:10:21 org.apache.catalina.core.StandardContext startrn严重: Context [/SSH2] startup failed due to previous errorsrnrnrnrnstruts.xml:rnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnrnrnrnrnrn rn rn /WEB-INF/page/message.jsprn rn rn rnrn rn rn rnrnrnweb.xml:rnrnrn rn index.jsprn rn rn <em>struts2</em>rn rn org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilterrn rn rn rn <em>struts2</em>rn /*rn rnrnrn接通网络就不报错,没得上网就报错,大侠们,帮帮忙
Strus2 Unable to load configuration.
程序启动的时候报错:n严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>nUnable to <em>load</em> <em>configuration.</em> - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/classes/struts.xml:7:85n at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:502)n at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)n at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)n at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)n at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)n at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)n at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4958)n at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)n at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)n at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)n at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)n at java.util.concurrent.FutureTask.run(FutureTask.java:266)n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)n at java.lang.Thread.run(Thread.java:745)nCaused by: Unable to <em>load</em> <em>configuration.</em> - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/classes/struts.xml:7:85n at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)n at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:446)n at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:490)n ... 14 morenCaused by: Action class [com.itheima.web.action.HelloAction] not found - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/classes/struts.xml:7:85n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:482)n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:426)n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:552)n at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Packages(XmlConfigurationProvider.java:292)n at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.<em>load</em>Packages(StrutsXmlConfigurationProvider.java:112)n at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:250)n at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)n ... 16 moren但是看了提示的那个位置,写的是:n![ 那个位置是method="sayHello"](https://img-ask.csdn.net/up<em>load</em>/201702/13/1486997072_241307.png) 没发现有什么错误!n![这是引用的jar文件](https://img-ask.csdn.net/up<em>load</em>/201702/13/1486997384_259839.png)nHelloAction.java:n package com.itheima.web.action;n/**n * Struts2入门案例n * @author rootn *n */npublic class HelloAction n /**n * 在动作类中制定的动作方法n * 动作方法的书写要求:n * 1.都是public的n * 2.返回值必须是Stringn * 3.必须没有参数n * @returnn */n public String sayHello() n System.out.println("sayHello,方法执行了!");n return "success";n nnnweb.xml:nn nn day24_struts1n n n n <em>struts2</em>n org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFiltern n n <em>struts2</em>n /*n n n n index.jspn nnnn请大神,给看下,这是一个Struts2的一个小例子但是没有启动起来不知到错误出在哪里,谢谢。
求助Exception starting filter struts2
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:395)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3696)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to <em>load</em> jar:file:/E:/JAVA/tomcat/apache-tomcat-6.0.14(完整版)/apache-tomcat-6.0.14/webapps/<em>struts2</em>_0010/WEB-INF/lib/<em>struts2</em>-core-2.1.6.jar!/struts-default.xml - [unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:890)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:144)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:164)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 31 morernCaused by: Connection timed out: connect - [unknown location]rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:885)rn ... 35 morernCaused by: java.net.ConnectException: Connection timed out: connectrn at java.net.PlainSocketImpl.socketConnect(Native Method)rn at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)rn at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)rn at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)rn at java.net.Socket.connect(Socket.java:519)rn at java.net.Socket.connect(Socket.java:469)rn at sun.net.NetworkClient.doConnect(NetworkClient.java:157)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)rn at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)rn at sun.net.www.http.HttpClient.(HttpClient.java:233)rn at sun.net.www.http.HttpClient.New(HttpClient.java:306)rn at sun.net.www.http.HttpClient.New(HttpClient.java:323)rn at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788)rn at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729)rn at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:677)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1315)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1282)rn at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:283)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1176)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1075)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:993)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)rn at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)rn ... 36 morern
SEVERE: Exception starting filter struts2
项目在本地运行没错,发布到网上空间,启动tomcat报错!rn[code=Java]rnJun 17, 2010 12:29:28 AM org.apache.catalina.core.ApplicationContext logrnINFO: SessionListener: contextDestroyed()rnJun 17, 2010 12:29:28 AM org.apache.catalina.core.ApplicationContext logrnINFO: ContextListener: contextDestroyed()rnJun 17, 2010 12:29:37 AM org.apache.catalina.core.ApplicationContext logrnINFO: Initializing Spring root WebApplicationContextrnJun 17, 2010 12:29:43 AM org.apache.catalina.core.StandardContext <em>filter</em>StartrnSEVERE: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - Class: java.security.AccessControlContextrnFile: AccessControlContext.javarnMethod: checkPermissionrnLine: 323 - java/security/AccessControlContext.java:323:-1rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rnrn.....rn[/code]
Caused by: Unable to locate parent package [json-default] for [class com.you.user.action.StudentActi
1、错误描述 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser) 2014-7-13 1:52:04 org.apache.<em>struts2</em>.spring.StrutsSpringObjectFactory info 信息: Initializing Struts-Spring integration..
struts2问题:Unable to load configuration. - action - file:/......
[b]异常:[/b]rnrnrn[color=#FF0000]2013-7-22 17:58:21 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;E:/Java/jre6/bin/client;E:/Java/jre6/bin;E:/Java/jre6/lib/i386;E:\Oracle\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Java\jdk1.6.0_26\bin;E:\MySQL\MySQL Server 5.5\bin;E:\TortoiseSVN\bin;E:\Oracle\product\11.2.0\client_1\BIN;E:\eclipseJUNO;;.rn2013-7-22 17:58:21 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:Login_SSH' did not find a matching property.rn2013-7-22 17:58:22 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn2013-7-22 17:58:22 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn2013-7-22 17:58:22 org.apache.catalina.startup.Catalina <em>load</em>rn信息: Initialization processed in 725 msrn2013-7-22 17:58:22 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2013-7-22 17:58:22 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.42rn2013-7-22 17:58:24 org.apache.catalina.core.ApplicationContext logrn信息: No Spring WebApplicationInitializer types detected on classpathrn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-default.xml]rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-plugin.xml]rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts.xml]rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.<em>struts2</em>.dispatcher.mapper.ActionMapper)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (jakarta) for (org.apache.<em>struts2</em>.dispatcher.multipart.MultiPartRequest)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.<em>struts2</em>.views.freemarker.FreemarkerManager)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.<em>struts2</em>.components.UrlRenderer)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.<em>struts2</em>.dispatcher.StaticContentLoader)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.<em>struts2</em>.views.util.UrlHelper)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser)rn2013-7-22 17:58:25 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Dispatcher initialization failedrnUnable to <em>load</em> <em>configuration.</em> - action - file:/E:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Login_SSH/WEB-INF/classes/struts.xml:16:97rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:446)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:490)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4775)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: Action class [com.dqgb.Action.RegisterAction] not found - action - file:/E:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Login_SSH/WEB-INF/classes/struts.xml:16:97rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:482)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:426)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:552)rn rnrn
struts2下的“Exception starting filter struts2”错误的问题
最近开始学习<em>struts2</em>,配置好了运行的时候总是有如下的错误:rnrnrnrnrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - action - file:/E:/JOB/apache-tomcat-6.0.35_n/webapps/test/WEB-INF/classes/struts.xml:13:48rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:360)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:403)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4072)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: Action class [lee.LoginAction] not found - action - file:/E:/JOB/apache-tomcat-6.0.35_n/webapps/test/WEB-INF/classes/struts.xml:13:48rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:405)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:355)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:460)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Packages(XmlConfigurationProvider.java:265)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.<em>load</em>Packages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:189)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 30 morern2012-6-8 8:57:36 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2012-6-8 8:57:36 org.apache.catalina.core.StandardContext startrn严重: Context [/test] startup failed due to previous errorsrn2012-6-8 8:57:36 org.apache.catalina.<em>load</em>er.WebappClassLoader clearThreadLocalMaprn严重: The web application [/test] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@154100e]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1ea34f3]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.rn2012-6-8 8:57:36 org.apache.catalina.<em>load</em>er.WebappClassLoader clearThreadLocalMaprn严重: The web application [/test] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@13a4cdc]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@8c3eb8]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.rnrnrnrnrn,web.xml的内容如下:rnrnrn rn HelloWorldrn rn <em>struts2</em> rn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn rn rn <em>struts2</em>rn /*rn rn rn index.htmlrn rnrnrnrnrnrn求大虾们解决啊。。。。
启动Struts2报错:Exception starting filter struts2
[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/1.gif][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/1.gif][/img]rnrn这是目录结构:rn[img=https://img-bbs.csdn.net/up<em>load</em>/201312/03/1386038315_923480.jpg][/img]rnrn这是WebContent/WEB-INF下web.xmlrn[code=text]rnrn 02_02_Struts 2rn rn login.jsprn index.htmrn index.jsprn default.htmlrn default.htmrn default.jsprn rn rn rn <em>struts2</em>rn org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilterrn rn rn <em>struts2</em>rn /*rn rn[/code]rnrn这是TOMCAT启动时报错:rn[img=https://img-bbs.csdn.net/up<em>load</em>/201312/03/1386038521_221639.jpg][/img]rnrn在web.xml中,无论中填任何包中所含的.class文件启动均会报错。。。
struts2中 严重: Exception starting filter struts2
[img=https://img-bbs.csdn.net/up<em>load</em>/201411/07/1415351305_960812.png][/img]rn[img=https://img-bbs.csdn.net/up<em>load</em>/201411/07/1415351318_870129.png][/img]rn[img=https://img-bbs.csdn.net/up<em>load</em>/201411/07/1415351337_477470.png][/img]rn[img=https://img-bbs.csdn.net/up<em>load</em>/201411/07/1415351344_646963.png][/img]rnrnrnrnrn2014-11-7 17:01:51 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\jdk1.6.0_13\jdk1.6.0_13\bin;D:\apache-tomcat-6.0.35\apache-tomcat-6.0.35\binrn2014-11-7 17:01:51 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2014-11-7 17:01:51 org.apache.catalina.startup.Catalina <em>load</em>rn信息: Initialization processed in 225 msrn2014-11-7 17:01:51 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2014-11-7 17:01:51 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.35rn2014-11-7 17:01:51 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2014-11-7 17:01:51 org.apache.catalina.startup.HostConfig deployWARrn信息: Deploying web application archive Login.warrn2014-11-7 17:01:53 org.apache.catalina.<em>load</em>er.WebappClassLoader validateJarFilern信息: validateJarFile(D:\apache-tomcat-6.0.35\apache-tomcat-6.0.35\webapps\Login\WEB-INF\lib\servlet.jar) - jar not <em>load</em>ed. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrnlog4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.util.fs.DefaultFileManagerFactory).rnlog4j:WARN Please initialize the log4j system properly.rn2014-11-7 17:01:54 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnClass: com.opensymphony.xwork2.spring.SpringObjectFactoryrnFile: SpringObjectFactory.javarnMethod: getClassInstancernLine: 230 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:230:-1rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:501)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4072)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)rn at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:230)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:604)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:574)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:530)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Packages(XmlConfigurationProvider.java:292)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.<em>load</em>Packages(StrutsXmlConfigurationProvider.java:112)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:258)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:445)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:489)rn ... 28 morern2014-11-7 17:01:54 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2014-11-7 17:01:54 org.apache.catalina.core.StandardContext startrn严重: Context [/Login] startup failed due to previous errorsrn2014-11-7 17:01:55 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2014-11-7 17:01:55 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2014-11-7 17:01:55 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2014-11-7 17:01:55 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/31 config=nullrn2014-11-7 17:01:55 org.apache.catalina.startup.Catalina startrn信息: Server startup in 3698 msrnrnrnrn这个是什么错误 tomcat启动的时候就出错
Struts2 严重: Exception starting filter struts2问题
rnUnable to <em>load</em> bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Java/tomcat6.0/webapps/<em>struts2</em>.0/WEB-INF/lib/<em>struts2</em>-core-2.0.8.jar!/struts-default.xml:8:72rnat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)rnat org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.javarnat com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>(DefaultConfiguration.java:131)rnat com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.javarnat org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:395)rnat org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:452)rnat org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)rnat org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rnat org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rnat org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.javarnat org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3709)rnat org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)rnat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rnat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rnat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rnat org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rnat org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rnat org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rnat org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rnat org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rnat org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.javarnat org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rnat org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rnat org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rnat org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rnat org.apache.catalina.core.StandardService.start(StandardService.java:516)rnat org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rnat org.apache.catalina.startup.Catalina.start(Catalina.java:578)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rnat java.lang.reflect.Method.invoke(Unknown Source)rnat org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rnat org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been <em>load</em>ed by bean - jar:file:/D:/Java/tomcat6.0/webapps/<em>struts2</em>.0/WEB-INF/lib/<em>struts2</em>-core-2.0.11.2.jar!/struts-default.xml:30:72 - bean - jar:file:/D:/Java/tomcat6.0/webapps/<em>struts2</em>.0/WEB-INF/lib/<em>struts2</em>-core-2.0.8.jar!/struts-default.xml:8:72rnat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)rn... 33 morern2008-10-17 0:01:34 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2008-10-17 0:01:34 org.apache.catalina.core.StandardContext startrn严重: Context [/<em>struts2</em>.0] startup failed due to previous errors
Struts2 问题:严重: Exception starting filter struts2
2011-3-23 21:56:11 org.apache.catalina.core.AprLifecycleListener initrn信息: Loaded Apache Tomcat Native library 1.1.17.rn2011-3-23 21:56:11 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2011-3-23 21:56:11 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2011-3-23 21:56:11 org.apache.catalina.startup.Catalina <em>load</em>rn信息: Initialization processed in 828 msrn2011-3-23 21:56:11 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-3-23 21:56:12 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.10rn2011-3-23 21:56:12 org.apache.struts.action.ActionServlet initChainrn信息: Loading chain catalog from jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ch13/WEB-INF/lib/struts-core-1.3.8.jar!/org/apache/struts/chain/chain-config.xmlrn2011-3-23 21:56:18 org.apache.axis.utils.JavaUtils isAttachmentSupportedrn警告: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.rn2011-3-23 21:56:20 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnjava.lang.ClassNotFoundException: <em>struts2</em>.dispatcher.FilterDispatcherrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1358)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1204)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-3-23 21:56:20 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2011-3-23 21:56:20 org.apache.catalina.core.StandardContext startrn严重: Context [/Struts2] startup failed due to previous errorsrn2011-3-23 21:56:20 org.apache.catalina.<em>load</em>er.WebappClassLoader validateJarFilern信息: validateJarFile(D:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\webchart\WEB-INF\lib\servlet.jar) - jar not <em>load</em>ed. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2011-3-23 21:56:20 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-3-23 21:56:20 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2011-3-23 21:56:20 org.apache.catalina.startup.Catalina startrn信息: Server startup in 8688 msrn
Unable to load configuration. - Class: org.apache.xml.utils.DOMBuilder
急求!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Unable to load configuration. - Class: com.opensymphony.xwork2.config.providers.
2014-09-01 10:04:36,335 ERROR -Dispatcher initialization failedrnUnable to <em>load</em> <em>configuration.</em> - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:446)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:490)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)rn at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)rn at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)rn at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)rn at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)rn at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)rn at org.mortbay.jetty.Server.doStart(Server.java:224)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)rn at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)rn at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)rn at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)rn at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)rn at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)rn at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)rn at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)rn at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)rn at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)rn at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.classworlds.Launcher.main(Launcher.java:46)rnCaused by: Error <em>load</em>ing configuration file struts-default.xml - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:169)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:225)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 48 morernCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:1045)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:165)rn ... 51 morern[WARNING] failed <em>struts2</em>: Unable to <em>load</em> <em>configuration.</em> - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn[ERROR] Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@d704f0/service,E:\sinosofthaida\online\src\main\webapprnUnable to <em>load</em> <em>configuration.</em> - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:502)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.classworlds.Launcher.main(Launcher.java:46)rnCaused by: Unable to <em>load</em> <em>configuration.</em> - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:446)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:490)rn ... 46 morernCaused by: Error <em>load</em>ing configuration file struts-default.xml - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: <em>load</em>ConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:169)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:225)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 48 morernCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:1045)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:165)rn ... 51 morernrn项目启动就报错,什么情况
tomcat5.5错误 严重: Exception starting filter struts2
用<em>struts2</em>和tomcat5.5发布。rnweb.xml如下:rnrnrnrn rn <em>struts2</em>rn rn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn rn rnrn rn <em>struts2</em>rn /*rn rnrnrnrn用tomcat5.5发布时候发生错误。把web.xml的<em>filter</em>去掉就没事。错误信息如下:rnrn严重: The value of attribute "class" associated with an element type "action" must not contain the ' character.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:929)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:578)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:222)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:121)rn ... 35 morern2008-10-14 1:20:33 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2008-10-14 1:20:33 org.apache.catalina.core.StandardContext startrn严重: Context [/<em>struts2</em>.0] startup failed due to previous errorsrn2008-10-14 1:20:35 org.apache.coyote.http11.Http11BaseProtocol startrnrnrn请高手帮忙解答下。谢谢
Exception starting filter CharsetFilter
严重: Exception <em>starting</em> <em>filter</em> CharsetFilterrnjava.lang.ClassNotFoundException: com.idt.tools.CharsetFilterrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1645)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1491)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:269)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4001)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2011-11-1 15:38:23 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2011-11-1 15:38:23 org.apache.catalina.core.StandardContext startrn严重: Context [/DUTHRWEB] startup failed due to previous errorsrnrnrn在其他电脑上运行时没问题。rnrn请问这是什么问题啊????rnrn能不能给出详细的操作方法???
严重: Exception starting filter struts2(帮忙看下)
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnClass: com.opensymphony.xwork2.spring.SpringObjectFactoryrnFile: SpringObjectFactory.javarnMethod: getClassInstancernLine: 220 - com/opensymphony/xwork2/spring/SpringObjectFactory.java:220:-1rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:437)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:220)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:530)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:501)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:457)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Packages(XmlConfigurationProvider.java:275)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.<em>load</em>Packages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:204)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:380)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:424)rn ... 28 morernrnrnrnrnrnweb.xmlrnrnrnrn rn <em>struts2</em>rn rn rn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn rn rn rn <em>struts2</em>rn /*rn
tomcat5.5启动错误 严重: Exception starting filter struts2
错误提示如下:rn2008-10-14 9:30:19 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_09\bin;D:\Program Files\Apache Software Foundation\Tomcat 5.5\binrn2008-10-14 9:30:19 org.apache.coyote.http11.Http11BaseProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2008-10-14 9:30:19 org.apache.catalina.startup.Catalina <em>load</em>rn信息: Initialization processed in 1122 msrn2008-10-14 9:30:19 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2008-10-14 9:30:19 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.20rn2008-10-14 9:30:19 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2008-10-14 9:30:20 org.apache.catalina.core.ApplicationContext logrn信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]rn2008-10-14 9:30:21 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2008-10-14 9:30:21 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2008-10-14 9:30:22 org.apache.catalina.<em>load</em>er.WebappClassLoader validateJarFilern信息: validateJarFile(D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\SafeSW\WEB-INF\lib\jsp-api.jar) - jar not <em>load</em>ed. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.classrn2008-10-14 9:30:22 org.apache.catalina.<em>load</em>er.WebappClassLoader validateJarFilern信息: validateJarFile(D:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\SafeSW\WEB-INF\lib\servlet-api.jar) - jar not <em>load</em>ed. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2008-10-14 9:30:23 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2008-10-14 9:30:23 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2008-10-14 9:30:23 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider registerrn信息: Parsing configuration file [struts-default.xml]rn2008-10-14 9:30:24 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider registerrn信息: Parsing configuration file [struts-plugin.xml]rn2008-10-14 9:30:24 com.opensymphony.xwork2.util.DomHelper$StartHandler fatalErrorrn严重: The value of attribute "class" associated with an element type "action" must not contain the ' character.rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)rn at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)rn at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)rn at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:929)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:578)rn at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:222)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)rn at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:121)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:830)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:131)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>(DefaultConfiguration.java:130)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:395)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:77)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3634)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:551)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)rn2008-10-14 9:30:24 org.apache.catalina.core.StandardContext <em>filter</em>Startrn
Exception starting filter acegiFilterChainProxy
严重: Exception <em>starting</em> <em>filter</em> acegiFilterChainProxyrnjavax.servlet.ServletException: Bean context must contain at least one bean of type org.acegisecurity.util.FilterChainProxyrn at org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:145)rn at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:98)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4584)rn at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5262)rn at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5257)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)
Exception starting filter struts2 Error filterStart
ERROR [http-8080-Processor24] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/AdExchange] - Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnCaught <em>exception</em> while <em>load</em>ing file struts-default.xml - [unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:839)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:131)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>(DefaultConfiguration.java:130)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:395)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:78)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3635)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)rn at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)rn at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:549)rn at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)rn at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)rn at java.lang.Thread.run(Thread.java:662)rnCaused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurationrn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)rn at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument(SAX2DOM.java:324)rn at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.(SAX2DOM.java:84)rn at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:213)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:198)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:189)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:175)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:830)rn ... 32 morern2011-9-5 17:21:31 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2011-9-5 17:21:31 org.apache.catalina.core.StandardContext startrn严重: Context [/AdExchange] startup failed due to previous errors
tomcate启动报错Exception starting filter struts2
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - bean - jar:file:/C:/Users/123/Workspaces/MyEclipse%208.5%20M1/.metadata/.me_tcat/webapps/TZSC/WEB-INF/lib/<em>struts2</em>-convention-plugin-2.1.6.jar!/struts-plugin.xml:38:161rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn这是控制台打印的错误。rnSSH整合项目,网上搜了下都说jar包问题,没解决求帮助
Struts基础问题( Exception starting filter struts2
rn rn rn rn /path.jsprn rn rn 这样配置Struts.xml 当Tomcat 启动时出现问题:(我看了下包,配置都没有问题)。。。请问问题出在那了了?rnrn2009-12-1 10:39:42 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.6.0_07\bin;D:\Program Files\Java\apache-tomcat-6.0.20\binrn2009-12-1 10:39:42 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8090rn2009-12-1 10:39:42 org.apache.catalina.startup.Catalina <em>load</em>rn信息: Initialization processed in 318 msrn2009-12-1 10:39:42 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-12-1 10:39:42 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.20rn2009-12-1 10:39:43 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2009-12-1 10:39:43 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2009-12-1 10:39:44 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-default.xml]rn2009-12-1 10:39:44 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Unable to locate configuration files of the name struts-plugin.xml, skippingrn2009-12-1 10:39:44 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-plugin.xml]rn2009-12-1 10:39:44 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts.xml]rn2009-12-1 10:39:44 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-default.xml]rn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Unable to locate configuration files of the name struts-plugin.xml, skippingrn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-plugin.xml]rn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts.xml]rn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-default.xml]rn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Unable to locate configuration files of the name struts-plugin.xml, skippingrn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-plugin.xml]rn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts.xml]rn2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Overriding property struts.i18n.re<em>load</em> - old value: false new value: truern2009-12-1 10:39:45 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Overriding property struts.<em>configuration.</em>xml.re<em>load</em> - old value: false new value: truern2009-12-1 10:39:46 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnjava.lang.NullPointerExceptionrn at com.opensymphony.xwork2.util.FileManager$FileRevision.needsRe<em>load</em>ing(FileManager.java:209)rn at com.opensymphony.xwork2.util.FileManager.fileNeedsRe<em>load</em>ing(FileManager.java:60)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsRe<em>load</em>(XmlConfigurationProvider.java:325)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.needsRe<em>load</em>(StrutsXmlConfigurationProvider.java:168)rn at com.opensymphony.xwork2.config.ConfigurationManager.conditionalRe<em>load</em>(ConfigurationManager.java:220)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.getContainer(Dispatcher.java:774)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initStaticContentLoader(InitOperations.java:77)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:49)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3800)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:583)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2009-12-1 10:39:46 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2009-12-1 10:39:46 org.apache.catalina.core.StandardContext startrn严重: Context [/Struts2_0300_Action] startup failed due to previous errorsrn2009-12-1 10:39:46 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8090rn2009-12-1 10:39:46 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2009-12-1 10:39:46 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/15 config=nullrn2009-12-1 10:39:46 org.apache.catalina.startup.Catalina startrn信息: Server startup in 3634 msrn
Exception starting filter struts2的原因求解!!!!
[code=Java]rn09 09-11-29 16:53:38,609 [org.springframework.web.context.ContextLoader]-[INFO] Root WebApplicationContext: initialization completed in 6063 msrn09 09-11-29 16:53:38,953 [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/ssh2]]-[ERROR] Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:360)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:403)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3563)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4133)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:910)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:873)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:536)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Caught <em>exception</em> while <em>load</em>ing file struts-default.xml - [unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:894)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:144)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:164)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 30 morernCaused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurationrn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)rn at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.(SAX2DOM.java:69)rn at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:205)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:190)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:181)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:167)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:107)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:885)rn ... 34 morern2009-11-29 16:53:38 org.apache.catalina.core.StandardContext startrn[/code]rn各位高手,帮忙看一下咯,这个错误一直不知道怎么解决!!!!
严重: Exception starting filter struts2问题
问一下哪里出错了rnrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - [unknown location]rnat org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:431)rnat org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rnat org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rnat org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rnat org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rnat org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rnat org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3696)rnat org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)rnat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rnat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rnat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rnat org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rnat org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rnat org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rnat org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)rnat org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rnat org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rnat org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rnat org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rnat org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rnat org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rnat java.lang.Thread.run(Thread.java:619)rnCaused by: Unable to <em>load</em> <em>configuration.</em> - [unknown location]rnat com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rnat org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:374)rnat org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:418)rn... 21 morernCaused by: Caught <em>exception</em> while <em>load</em>ing file struts-default.xml - [unknown location]rnat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:902)rnat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>Documents(XmlConfigurationProvider.java:143)rnat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:110)rnat com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:168)rnat com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn... 23 morernCaused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurationrnat org.apache.xerces.parsers.DOMParser.(Unknown Source)rnat org.apache.xerces.parsers.DOMParser.(Unknown Source)rnat org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)rnat org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)rnat com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.(SAX2DOM.java:69)rnat com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)rnat com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392)rnat com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137)rnat com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:205)rnat com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:190)rnat com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:181)rnat com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:167)rnat com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:107)rnat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.<em>load</em>ConfigurationFiles(XmlConfigurationProvider.java:893)rn... 27 morern2009-12-24 21:45:17 org.apache.catalina.core.StandardContext startrnrn
严重: Exception starting filter struts2怎么解决
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnjava.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerBuilder$4rnFile: ContainerBuilder.javarnMethod: creaternLine: 132 - com/opensymphony/xwork2/inject/ContainerBuilder.java:132:-1rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:449)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4038)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4692)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:701)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:585)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:132)rn at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:507)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:517)rn at com.opensymphony.xwork2.inject.ContainerImpl$9.call(ContainerImpl.java:548)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:546)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:197)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:390)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:436)rn ... 29 morernCaused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:495)rn at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:532)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:581)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:530)rn at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)rn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)rn ... 39 morernCaused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:440)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:492)rn ... 44 morernCaused by: java.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:419)rn ... 45 morernCaused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContextrn at org.apache.<em>struts2</em>.spring.StrutsSpringObjectFactory.(StrutsSpringObjectFactory.java:80)rn ... 50 morernCaused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContextrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1647)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1493)rn at java.lang.ClassLoader.<em>load</em>ClassInternal(ClassLoader.java:320)rn ... 51 morern2012-11-2 13:49:44 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2012-11-2 13:49:44 org.apache.catalina.core.StandardContext startrn严重: Context [/gfg] startup failed due to previous errorsrn2012-11-2 13:49:44 org.apache.catalina.<em>load</em>er.WebappClassLoader clearThreadLocalMaprn严重: The web application [/gfg] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@986975]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@33910a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.rn2012-11-2 13:49:44 org.apache.catalina.<em>load</em>er.WebappClassLoader clearThreadLocalMaprn严重: The web application [/gfg] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@150152f]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@9ef399]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.rn2012-11-2 13:49:49 org.apache.coyote.http11.Http11Protocol start
严重: Exception starting filter struts2(Spring+Struts2整合)
大家帮帮忙..........不知道是不是,包的版本问题,还是它们之间有冲突...帮忙解决一下!rnrn2010-11-16 23:15:08 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - bean - jar:file:/D:/apache-tomcat-6.0.29/webapps/spring-<em>struts2</em>/WEB-INF/lib/<em>struts2</em>-core-2.2.1.jar!/struts-default.xml:29:72rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn.........................rnrnTomcat启动时报错!rnrn导入的包有:rnStrurs2(2.2.1):rncommons-fileup<em>load</em>-1.2.1.jarrncommons-logging-1.0.4.jarrn<em>struts2</em>-core-2.2.1.jarrnfreemarker-2.3.16.jarrnxwork-core-2.2.1.jarrnognl-3.0.jarrnrnSpring(2.0.8):rnspring.jarrncommons-logging.jarrnaspectjrt.jarrnaspectjweaver.jarrncglib-nodep-2.1_3.jar
严重: Exception starting filter struts2问题解决
2011-2-17 17:46:14 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnjava.lang.NullPointerExceptionrnat com.opensymphony.xwork2.util.FileManager$FileRevision.needsRe<em>load</em>ing(FileManager.java:209)rnat com.opensymphony.xwork2.util.FileManager.fileNeedsRe<em>load</em>ing(FileManager.java:60)rnat com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsRe<em>load</em>(XmlConfigurationProvider.java:325)rnat org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.needsRe<em>load</em>(StrutsXmlConfigurationProvider.java:168)rnat com.opensymphony.xwork2.config.ConfigurationManager.conditionalRe<em>load</em>(ConfigurationManager.java:220)rnat com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61)rnat org.apache.<em>struts2</em>.dispatcher.Dispatcher.getContainer(Dispatcher.java:774)rnat org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initStaticContentLoader(InitOperations.java:77)rnrnrnrn项目是从别人的拷过来的,别人的运行没问题,但是到我的机子就出现以上问题了,环境是tomcat6.x+jdk6,而且commons-io-1.3.2.jar,commons-fileup<em>load</em>-1.2.1.jar这两个包都加上了,为什么还出现这样的问题???
严重: Exception starting filter struts2怎么回事?
严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnjava.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtilsrn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:201)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:390)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:436)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4072)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtilsrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1680)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1526)rn ... 35 morern
Struts2--Exception starting filter struts2
配置一个简单的Struts2,war包发到tomcat上,运行报错:rn==================================================rnSEVERE: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnjava.lang.ClassNotFoundException: org.apache.<em>struts2</em>.dispatcher.FileterDispatcherrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1680)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1526)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:269)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:424)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4072)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)rn at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn================================================================rn看了网上的各种解决方案都,都没有作用,已经尝试的解决方案:rn重新Build Path,引入的jre有:rncommons-fileup<em>load</em>-1.2.2rncommons-io-2.0.1rncommons-lang-2.4rncommons-logging-1.1.1rnfreemarker-2.3.19rnjavassist-3.11.0.GArnognl-3.0.6rn<em>struts2</em>-core-2.3.14rnxwork-core-2.3.14rn====================================================rnweb.xml:rnrnrnrnrn Struts2Test1rnrn rn <em>struts2</em>rn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn rn rn <em>struts2</em>rn /*rn rnrn rn index.htmlrn rnrnrn求大神指教~
struts2出错Unable to load configuration. - action - file:/D:/workspace/……
struts.xml是这样的rn[code=XML]rnrnrnrn rn rn rn rn rn rn rn /login.jsprn rn /login.jsprn rn rn rn rn rn rn rnrnrn[/code]rn在没定义class的时候是可以执行的,定义之后直接输入http://localhost:8080/struts/login.jsp不能执行并出现如下错误:rnThe requested resource (/struts/login.jsp) is not available.rn这是什么原因啊
报错 Exception starting filter Struts2.0
严重: Exception <em>starting</em> <em>filter</em> Struts2.0rnjava.lang.ClassNotFoundException: org.apache.Struts2.0.dispatcher.FilterDispatherrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1358)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1204)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2013-2-27 14:19:54 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2013-2-27 14:19:54 org.apache.catalina.core.StandardContext startrn严重: Context [/testst2] startup failed due to previous errorsrn2013-2-27 14:19:54 org.apache.coyote.http11.Http11Protocol start
struts2和hibernate整合 Unable to load configuration. - [unknown location]
2012-3-17 22:32:40 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Dispatcher initialization failedrnUnable to <em>load</em> <em>configuration.</em> - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:390)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:436)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
SSH在启动时报错Unable to load configuration.
[code=XML]rnrn rn contextConfigLocation rn rn /WEB-INF/classes/applicationContext.xml rn rn rn rn rn rn org.springframework.web.context.ContextLoaderListenerrn rn rn rn rn <em>struts2</em>rn org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilterrn rn configrn /WEB-INF/classes/struts.xmlrn rn rnrn rn <em>struts2</em>rn /*rn rnrn[/code]rnrn[code=Java]rn严重: Dispatcher initialization failedrnUnable to <em>load</em> <em>configuration.</em> - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:380)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:424)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4638)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)rn at java.lang.Thread.run(Thread.java:722)rnCaused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]rn at org.apache.<em>struts2</em>.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.<em>struts2</em>.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.<em>struts2</em>.config.BeanSelectionProvider.register(BeanSelectionProvider.java:202)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 22 morernrn六月 18, 2012 12:03:02 上午 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - [unknown location]rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:437)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:4638)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)rn at java.lang.Thread.run(Thread.java:722)rnCaused by: Unable to <em>load</em> <em>configuration.</em> - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:380)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:424)rn ... 20 morernCaused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]rn at org.apache.<em>struts2</em>.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.<em>struts2</em>.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.<em>struts2</em>.config.BeanSelectionProvider.register(BeanSelectionProvider.java:202)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 22 morernrn六月 18, 2012 12:03:02 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Error <em>filter</em>Startrn六月 18, 2012 12:03:02 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/exttest] startup failed due to previous errorsrn[/code]rn弄了好久没有解决,望各位大神帮忙解决下。在网上查了好久说是没有加这个包<em>struts2</em>-spring-plugin-2.2.3.1。但是我已经加了。还是报这个错误。在这不胜感激了。spring跟hibernate整合我已经测得没有问题了。跟struts就出了这问题。rnrnrnrn
Unable to load configuration. - bean - jar:file
严重: Dispatcher initialization failedrnUnable to <em>load</em> <em>configuration.</em> - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:374)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:418)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to <em>load</em> bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 31 morernCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been <em>load</em>ed by bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.1.8.1.jar!/struts-default.xml:29:72 - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)rn ... 34 morern2011-12-31 17:06:26 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> <em>configuration.</em> - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.2.3.1.jar!/struts-default.xml:29:72rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.<em>struts2</em>.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.<em>struts2</em>.dispatcher.ng.<em>filter</em>.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to <em>load</em> <em>configuration.</em> - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:374)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:418)rn ... 29 morernCaused by: Unable to <em>load</em> bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>Container(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 31 morernCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been <em>load</em>ed by bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.1.8.1.jar!/struts-default.xml:29:72 - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/<em>struts2</em>-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)rn ... 34 morern2011-12-31 17:06:26 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2011-12-31 17:06:26 org.apache.catalina.core.StandardContext startrn严重: Context [/StrutsTest] startup failed due to previous errorsrn2011-12-31 17:06:26 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-12-31 17:06:26 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2011-12-31 17:06:26 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/16 config=nullrn2011-12-31 17:06:26 org.apache.catalina.startup.Catalina start
严重: Exception starting filter characterEncoding
web.xmlrnrnrnch12rn rn front/index.jsprn rn Struts inforn rn <em>struts2</em>rn org.apache.<em>struts2</em>.dispatcher.FilterDispatcherrn rn rn <em>struts2</em>rn /*rn rn rn struts-cleanuprn org.apache.<em>struts2</em>.dispatcher.ActionContextCleanUprn rn rn struts-cleanuprn /*rn rn rnrnrnrnrnrnrn2010-12-2 10:13:23 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> characterEncodingrnjava.lang.ClassNotFoundException: com.casa2.struts.characterEncodingFilterrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1358)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1204)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2010-12-2 10:13:23 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2010-12-2 10:13:23 org.apache.catalina.core.StandardContext startrn严重: Context [/ch13] startup failed due to previous errors
struts2配置错误 严重: Exception starting filter struts2
错误信息如下:包都全了,2.0的。但是总是失败,请教原因rn2011-3-29 18:55:15 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider registerrn信息: Parsing configuration file [struts-default.xml]rn2011-3-29 18:55:15 org.apache.catalina.core.StandardContext <em>filter</em>Startrn严重: Exception <em>starting</em> <em>filter</em> <em>struts2</em>rnUnable to <em>load</em> bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/MyEclipse%20workplace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/<em>struts2</em>_helloworld/WEB-INF/lib/<em>struts2</em>-core-2.2.1.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)rn at org.apache.<em>struts2</em>.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.re<em>load</em>(DefaultConfiguration.java:131)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init_Pre<em>load</em>Configuration(Dispatcher.java:395)rn at org.apache.<em>struts2</em>.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.<em>struts2</em>.dispatcher.FilterDispatcher.init(FilterDispatcher.java:205)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been <em>load</em>ed by bean - jar:file:/D:/MyEclipse%20workplace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/<em>struts2</em>_helloworld/WEB-INF/lib/<em>struts2</em>-core-2.0.14.jar!/struts-default.xml:30:72 - bean - jar:file:/D:/MyEclipse%20workplace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/<em>struts2</em>_helloworld/WEB-INF/lib/<em>struts2</em>-core-2.2.1.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)rn ... 33 morern2011-3-29 18:55:15 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2011-3-29 18:55:15 org.apache.catalina.core.StandardContext startrn严重: Context [/<em>struts2</em>_helloworld] startup failed due to previous errorsrn2011-3-29 18:55:18 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-3-29 18:55:18 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2011-3-29 18:55:18 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/34 config=nullrn2011-3-29 18:55:18 org.apache.catalina.startup.Catalina startrn信息: Server startup in 9591 msrn
严重: Exception starting filter encodeFilter
类也写了,web.xml也配置了,怎么一加载项目就出错了,不能运行!rnrnrn严重: Exception <em>starting</em> <em>filter</em> encodeFilterrnjava.lang.ClassNotFoundException: xcsj.<em>filter</em>.EncodeFilterrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1358)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.java:1204)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:619)rn2010-6-30 17:50:43 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2010-6-30 17:50:43 org.apache.catalina.core.StandardContext startrn严重: Context [/xcsj] startup failed due to previous errorsrn
严重:Exception starting filter encodingFilter
Exception <em>starting</em> <em>filter</em> encodingFilterrnjava.lang.ClassNotFoundException: com.sterning.commons.SetCharacterEncodingFilternrrn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.javrna:1360)rn at org.apache.catalina.<em>load</em>er.WebappClassLoader.<em>load</em>Class(WebappClassLoader.javrna:1206)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterrnConfig.java:249)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilrnterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConrnfig.java:108)rn at org.apache.catalina.core.StandardContext.<em>filter</em>Start(StandardContext.java:37rn09)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1114)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1212)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupporrnt.java:117)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:rn1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processCrnhildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processCrnhildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContrnainerBase.java:1590)rn at java.lang.Thread.run(Unknown Source)rn2008-11-24 21:02:29 org.apache.catalina.core.StandardContext startrn严重: Error <em>filter</em>Startrn2008-11-24 21:02:29 org.apache.catalina.core.StandardContext startrn严重: Context [/newstest] startup failed due to previous errorsrn2008-11-24 21:02:29 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrnINFO - Closing org.springframework.web.context.support.XmlWebApplicationContext@rn1d267b5: display name [Root WebApplicationContext]; startup date [Mon Nov 24 21:rn02:23 CST 2008]; root of context hierarchyrnINFO - Destroying singletons in org.springframework.beans.factory.support.DefaulrntListableBeanFactory@15e2639: defining beans [dataSource,sessionFactory,newsDao,rnnewsManager,addBean,listBean,deleteBean,transactionManager,txAdvice,org.springfrrnamework.aop.config.internalAutoProxyCreator,allManagerMethod,org.springframeworkrn.aop.support.DefaultBeanFactoryPointcutAdvisor]; root of factory hierarchyrnINFO - Closing Hibernate SessionFactoryrnINFO - closingrn
《谭浩强C++程序设计》下载
内容简介 《C++程序设计》作者深入调查了我国大学的程序设计课程的现状和发展趋势,参阅了国内外数十种有关C++的教材,认真分析了学习者在学习过程中遇到的困难,研究了初学者的认识规律。在本书中做到准确定位,合理取舍内容,设计了读者易于学习的教材体系,并且以通俗易懂的语言化解了许多复杂的概念,大大减少了初学者学习C++的困难。C++是近年来国内外广泛使用的现代计算机语言,它既支持面向过程的程序设计,也支持基于对象和面向对象的程序设计。国内许多高校已陆续开设了C++程序设计课程。但是,由于C++涉及概念很多,语法比较复杂,内容十分广泛,使不少人感到学习难度较大,难以入门。 考虑到许多读者在学习C++ 相关下载链接:[url=//download.csdn.net/download/IceWee/2564746?utm_source=bbsseo]//download.csdn.net/download/IceWee/2564746?utm_source=bbsseo[/url]
08英语竞赛题下载附答案下载
08年的英语竞赛题。大家共勉。考出好成绩。加油加油 相关下载链接:[url=//download.csdn.net/download/j_chen23/2192574?utm_source=bbsseo]//download.csdn.net/download/j_chen23/2192574?utm_source=bbsseo[/url]
计算机网络中的安全问题下载
系统的了解网络安全注意事项,及遇到威胁时应该怎么高效的去处理。 相关下载链接:[url=//download.csdn.net/download/lclove321818/3508615?utm_source=bbsseo]//download.csdn.net/download/lclove321818/3508615?utm_source=bbsseo[/url]
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数
我们是很有底线的