struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Struts 2.5.Beta1 and samples
Date Mon, 24 Aug 2015 13:37:29 GMT
Filters were moved into a new package but web.xml wasn't updated - can
you register a ticket in JIRA?


Thanks in advance
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2015-08-24 15:32 GMT+02:00 Chris <christalkto@yahoo.fr>:
> Hello,
> I tried all Struts2 samples for many years, with success
> with apache/struts-examples and differents versions 2.3.14, 2.3.15 , 2.3.16 , 2.3.20
and Netbeans 6.5 , and Tomcat 7
>
> |   |
> |   |  |   |   |   |   |   |
> | apache/struts-examplesstruts-examples - Mirror of Apache Struts |
> |  |
> | Afficher sur github.com | Aperçu par Yahoo |
> |  |
> |   |
>
>
> Today, I'm trying Struts 2.5.Beta1 with log4j2 but it doens't work.Any idea ?août 24,
2015 12:28:23 PMorg.apache.catalina.core.StandardContext filterStartSEVERE: Exception au démarrage
du filtre struts2java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
               atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
               atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
               atorg.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
               atorg.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
               atorg.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
               atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
               atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
               atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:104)
               atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
               atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
               atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)    
           atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
               atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) 
              atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)    
           atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
               atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)  
             atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)        
       at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)                atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
               atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               atjava.lang.reflect.Method.invoke(Method.java:601)                atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
               atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
               at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792) 
              atorg.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)
               atorg.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)
               atorg.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)
               atjavax.servlet.http.HttpServlet.service(HttpServlet.java:621)            
   atjavax.servlet.http.HttpServlet.service(HttpServlet.java:728)                atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
               atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               atorg.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
               atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
               atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
               atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
               atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
               atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
               atorg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
               atorg.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
               atorg.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
               atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
               atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
               atjava.lang.Thread.run(Thread.java:722) août 24, 2015 12:28:42 PMorg.apache.catalina.core.StandardContext
filterStartSEVERE: Exception au démarrage du filtre struts2java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
               atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
               atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
               atorg.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
               atorg.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
               at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
               atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
               atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
               atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:104)
               atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
               atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
               atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)    
           atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
               atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) 
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)   
            atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
               atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)  
             at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)       
        atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
               atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               atjava.lang.reflect.Method.invoke(Method.java:601)                atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
               atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
               atcom.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)  
             atorg.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)
               atorg.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)
               atorg.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)
               atjavax.servlet.http.HttpServlet.service(HttpServlet.java:621)            
   atjavax.servlet.http.HttpServlet.service(HttpServlet.java:728)                atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
               atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               atorg.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
               atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
               atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
               atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
               atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
               atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
               atorg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
               atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
               atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
               atorg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
               atorg.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
               atorg.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
               atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
               atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
               atjava.lang.Thread.run(Thread.java:722) août 24, 2015 12:29:03 PMorg.apache.catalina.core.StandardContext
filterStartSEVERE: Exception au démarrage du filtre struts2java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
               atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
               atorg.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
               atorg.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
               atorg.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
               atorg.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
               atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:257)
               atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:383)
               atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:104)
               atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
               atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
               at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)   
            atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
               atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) 
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)   
            atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
               atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)  
             atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)        
       atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
               atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               atjava.lang.reflect.Method.invoke(Method.java:601)                atorg.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
               atcom.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
               at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792) 
              atorg.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)
               atorg.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)
               atorg.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)
               atjavax.servlet.http.HttpServlet.service(HttpServlet.java:621)            
   atjavax.servlet.http.HttpServlet.service(HttpServlet.java:728)                atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
               atorg.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message