求助struts2配置问题。。
2011-12-29 11:19:57 org.apache.catalina.core.AprLifecycleListener lifecycleEvent信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\lindy\MyEclipse 6.0\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin
2011-12-29 11:19:57 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-12-29 11:19:57 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 703 ms
2011-12-29 11:19:57 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-12-29 11:19:57 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.16
2011-12-29 11:19:57 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
2011-12-29 11:20:03 org.apache.catalina.startup.ContextConfig applicationWebConfig
严重: Parse error in application web.xml file at jndi:/localhost/Stud/WEB-INF/web.xml
java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name struts2
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:351)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1034)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:260)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-12-29 11:20:03 org.apache.catalina.startup.ContextConfig applicationWebConfig
严重: Occurred at line 17 column 20
2011-12-29 11:20:03 org.apache.catalina.startup.ContextConfig start
严重: Marking this application unavailable due to previous error(s)
2011-12-29 11:20:03 org.apache.catalina.core.StandardContext start
严重: Error getConfigured
2011-12-29 11:20:03 org.apache.catalina.core.StandardContext start
严重: Context [/Stud] startup failed due to previous errors
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
2011-12-29 11:20:06 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-12-29 11:20:06 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2011-12-29 11:20:06 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47 config=null
2011-12-29 11:20:06 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2011-12-29 11:20:06 org.apache.catalina.startup.Catalina start
信息: Server startup in 9130 ms
--------------------编程问答-------------------- java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name struts2
struts.xml文件贴下~ --------------------编程问答-------------------- Filter mapping specifies an unknown filter name struts2
web.xml中的struts2过滤器名字配错了 --------------------编程问答-------------------- 代码贴下,应该就是Struts2里面的过滤器名字错了 --------------------编程问答-------------------- Filter mapping specifies an unknown filter name struts2
web.xml中的struts2过滤器名字配错了 --------------------编程问答-------------------- web 过滤器名字错误了 0.0 --------------------编程问答-------------------- web.xml 中 Filter mapping specifies an unknown filter name struts2
过滤器 写错了 --------------------编程问答-------------------- 在Struts2提供的例子里拷一个来用就可以了 --------------------编程问答-------------------- Parse error in application web.xml file at jndi:/localhost/Stud/WEB-INF/web.xml
解析这个web.xml文件出错。
web.xml 中 Filter mapping specifies an unknown filter name struts2
过滤器名 写错了 --------------------编程问答--------------------
补充:Java , Java EE