严重: Exception starting filter [Struts2]
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:546)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4615)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase S t a r t C h i l d . c a l l ( C o n t a i n e r B a s e . j a v a : 1423 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e StartChild.call(ContainerBase.java:1423) at org.apache.catalina.core.ContainerBase StartChild.call(ContainerBase.java:1423)atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1413)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
五月 08, 2019 7:06:58 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
五月 08, 2019 7:06:58 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/strutsdemo] startup failed due to previous errors
五月 08, 2019 7:06:58 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [/usr/local/tomcat8/webapps/ManageSystem]
五月 08, 2019 7:06:59 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
五月 08, 2019 7:07:00 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console…
FATAL StrutsSpringObjectFactory ********** FATAL ERROR STARTING UP STRUTS-SPRING INTEGRATION **********
Looks like the Spring listener was not configured for your web app!
Nothing will work until WebApplicationContextUtils returns a valid ApplicationContext.
You might need to add the following to web.xml:
org.springframework.web.context.ContextLoaderListener
ERROR DefaultConversionPropertiesProcessor Conversion registration error
java.lang.NullPointerException
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:157)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:172)
at com.opensymphony.xwork2.conversion.impl.DefaultTypeConverterCreator.createTypeConverter(DefaultTypeConverterCreator.java:23)
at com.opensymphony.xwork2.conversion.impl.DefaultConversionPropertiesProcessor.loadConversionProperties(DefaultConversionPropertiesProcessor.java:62)
at com.opensymphony.xwork2.conversion.impl.DefaultConversionPropertiesProcessor.process(DefaultConversionPropertiesProcessor.java:40)
at com.opensymphony.xwork2.conversion.impl.XWorkConverter.setConversionPropertiesProcessor(XWorkConverter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.opensymphony.xwork2.inject.ContainerImpl M e t h o d I n j e c t o r . i n j e c t ( C o n t a i n e r I m p l . j a v a : 287 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l MethodInjector.inject(ContainerImpl.java:287) at com.opensymphony.xwork2.inject.ContainerImpl MethodInjector.inject(ContainerImpl.java:287)atcom.opensymphony.xwork2.inject.ContainerImplConstructorInjector.construct(ContainerImpl.java:422)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:477)
at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:516)
at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:569)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:514)
at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:129)
at com.opensymphony.xwork2.inject.Scope$2 1. c r e a t e ( S c o p e . j a v a : 52 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 1.create(Scope.java:52) at com.opensymphony.xwork2.inject.ContainerImpl 1.create(Scope.java:52)atcom.opensymphony.xwork2.inject.ContainerImplParameterInjector.inject(ContainerImpl.java:448)
at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:462)
at com.opensymphony.xwork2.inject.ContainerImpl.access 000 ( C o n t a i n e r I m p l . j a v a : 38 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 000(ContainerImpl.java:38) at com.opensymphony.xwork2.inject.ContainerImpl 000(ContainerImpl.java:38)atcom.opensymphony.xwork2.inject.ContainerImplMethodInjector.inject(ContainerImpl.java:287)
at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:477)
at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:516)
at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:569)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:514)
at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:129)
at com.opensymphony.xwork2.inject.Scope$2 1. c r e a t e ( S c o p e . j a v a : 52 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 1.create(Scope.java:52) at com.opensymphony.xwork2.inject.ContainerImpl 1.create(Scope.java:52)atcom.opensymphony.xwork2.inject.ContainerImplParameterInjector.inject(ContainerImpl.java:448)
at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:462)
at com.opensymphony.xwork2.inject.ContainerImpl.access 000 ( C o n t a i n e r I m p l . j a v a : 38 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 000(ContainerImpl.java:38) at com.opensymphony.xwork2.inject.ContainerImpl 000(ContainerImpl.java:38)atcom.opensymphony.xwork2.inject.ContainerImplMethodInjector.inject(ContainerImpl.java:287)
at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:477)
at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:516)
at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:569)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:514)
at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:129)
at com.opensymphony.xwork2.inject.Scope$2 1. c r e a t e ( S c o p e . j a v a : 52 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 1.create(Scope.java:52) at com.opensymphony.xwork2.inject.ContainerImpl 1.create(Scope.java:52)atcom.opensymphony.xwork2.inject.ContainerImplParameterInjector.inject(ContainerImpl.java:448)
at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:462)
at com.opensymphony.xwork2.inject.ContainerImpl.access 000 ( C o n t a i n e r I m p l . j a v a : 38 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 000(ContainerImpl.java:38) at com.opensymphony.xwork2.inject.ContainerImpl 000(ContainerImpl.java:38)atcom.opensymphony.xwork2.inject.ContainerImplMethodInjector.inject(ContainerImpl.java:287)
at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:477)
at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:516)
at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:569)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:514)
at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:129)
at com.opensymphony.xwork2.inject.Scope$2 1. c r e a t e ( S c o p e . j a v a : 52 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 1.create(Scope.java:52) at com.opensymphony.xwork2.inject.ContainerImpl 1.create(Scope.java:52)atcom.opensymphony.xwork2.inject.ContainerImplParameterInjector.inject(ContainerImpl.java:448)
at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:462)
at com.opensymphony.xwork2.inject.ContainerImpl.access 000 ( C o n t a i n e r I m p l . j a v a : 38 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l 000(ContainerImpl.java:38) at com.opensymphony.xwork2.inject.ContainerImpl 000(ContainerImpl.java:38)atcom.opensymphony.xwork2.inject.ContainerImplMethodInjector.inject(ContainerImpl.java:287)
at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:422)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:477)
at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:516)
at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:569)
at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:514)
at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)
at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:129)
at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52)
at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:491)
at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:501)
at com.opensymphony.xwork2.inject.ContainerImpl 9. c a l l ( C o n t a i n e r I m p l . j a v a : 532 ) a t c o m . o p e n s y m p h o n y . x w o r k 2. i n j e c t . C o n t a i n e r I m p l . c a l l I n C o n t e x t ( C o n t a i n e r I m p l . j a v a : 560 ) a t c o m . o p e n s y