整合SSH框架报错java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java。。。

以前使用了SSH框架都是使用网上整理好的,最近几天好奇,突然想自己整理一份SSH框架(struts-2.5.17,spring 4.0.0,hibernate 4.0.0),这样用着也更加的得心应手,事与愿违,还是遇到了不能解决的问题,都已经几天了,百度,Google,都无济于事(扎心一样的痛),求助,希望各路神仙,多多留言啊,万分感谢

引用jar包如下

整合SSH框架报错java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java。。。_第1张图片整合SSH框架报错java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java。。。_第2张图片

配置文件web.xml



	ssh2	
	
		log4jConfigLocation
		/WEB-INF/conf/log4j.properties
	
	
		log4jRefreshInterval
		60000
	
	
		org.springframework.web.util.Log4jConfigListener
	
	
		contextConfigLocation
		
		/WEB-INF/conf/application.xml
	
	
		org.springframework.web.context.ContextLoaderListener
	
	
		openSessionInViewFilter
		
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter
                
	
	
		openSessionInViewFilter
		/*
	
	
		struts2
		
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
                
		
			config -->
			
struts-default.xml,struts-plugin.xml,../config/struts.xml
                        
		 
	
	
		struts2
		/mgt/*
	
	
		CharacterEncodingFilter
		
org.springframework.web.filter.CharacterEncodingFilter
                
		
			encoding
			UTF-8
		
		
			forceEncoding
			true
		
	
	
		CharacterEncodingFilter
		/*
		
	
		index.html
		index.htm
		index.jsp
		default.html
		default.htm
		default.jsp
	

Struts.xml配置如下:




	
	
	
	
	
	
	
	
	
		
			/index.jsp
			/login.jsp
		
	

报错如下:

2018-09-02 02:43:27,411 ERROR [localhost-startStop-1] dispatcher.Dispatcher (Dispatcher.java:508) - Dispatcher initialization failed
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:118) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:616) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:613) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:555) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:613) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:292) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:162) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66) ~[struts2-core-2.5.17.jar:2.5.17]
	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957) ~[struts2-core-2.5.17.jar:2.5.17]
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463) ~[struts2-core-2.5.17.jar:2.5.17]
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496) [struts2-core-2.5.17.jar:2.5.17]
	at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73) [struts2-core-2.5.17.jar:2.5.17]
	at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61) [struts2-core-2.5.17.jar:2.5.17]
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) [catalina.jar:7.0.70]
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) [catalina.jar:7.0.70]
	at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105) [catalina.jar:7.0.70]
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4939) [catalina.jar:7.0.70]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633) [catalina.jar:7.0.70]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) [catalina.jar:7.0.70]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) [catalina.jar:7.0.70]
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) [catalina.jar:7.0.70]
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) [catalina.jar:7.0.70]
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260) [catalina.jar:7.0.70]
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002) [catalina.jar:7.0.70]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_75]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_75]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_75]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_75]
	at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	... 32 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	... 32 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	... 32 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	... 32 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
	at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	... 32 more
Caused by: java.lang.NoSuchMethodError: org.apache.logging.log4j.Logger.debug(Ljava/lang/String;Ljava/lang/Object;)V
	at com.opensymphony.xwork2.util.fs.DefaultFileManagerFactory.lookupFileManager(DefaultFileManagerFactory.java:80) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.util.fs.DefaultFileManagerFactory.getFileManager(DefaultFileManagerFactory.java:64) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.conversion.impl.XWorkConverter.setFileManagerFactory(XWorkConverter.java:169) ~[struts2-core-2.5.17.jar:2.5.17]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
	at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33) ~[struts2-core-2.5.17.jar:2.5.17]
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282) ~[struts2-core-2.5.17.jar:2.5.17]
	... 32 more
九月 02, 2018 2:43:27 上午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector
File: ContainerImpl.java
Method: inject
Line: 284 - com/opensymphony/xwork2/inject/ContainerImpl.java:284:-1
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:509)
	at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73)
	at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4939)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284)
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417)
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253)
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52)
	at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:118)
	at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:616)
	at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:613)
	at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:555)
	at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:613)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:292)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:162)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957)
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496)
	... 18 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284)
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417)
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253)
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52)
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443)
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457)
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33)
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282)
	... 32 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284)
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417)
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253)
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52)
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443)
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457)
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33)
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282)
	... 39 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284)
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417)
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253)
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52)
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443)
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457)
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33)
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282)
	... 46 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:284)
	at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:417)
	at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:253)
	at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:52)
	at com.opensymphony.xwork2.inject.ContainerImpl$ParameterInjector.inject(ContainerImpl.java:443)
	at com.opensymphony.xwork2.inject.ContainerImpl.getParameters(ContainerImpl.java:457)
	at com.opensymphony.xwork2.inject.ContainerImpl.access$000(ContainerImpl.java:33)
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282)
	... 53 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:282)
	... 60 more
Caused by: java.lang.NoSuchMethodError: org.apache.logging.log4j.Logger.debug(Ljava/lang/String;Ljava/lang/Object;)V
	at com.opensymphony.xwork2.util.fs.DefaultFileManagerFactory.lookupFileManager(DefaultFileManagerFactory.java:80)
	at com.opensymphony.xwork2.util.fs.DefaultFileManagerFactory.getFileManager(DefaultFileManagerFactory.java:64)
	at com.opensymphony.xwork2.conversion.impl.XWorkConverter.setFileManagerFactory(XWorkConverter.java:169)
	... 65 more
九月 02, 2018 2:43:27 上午 org.apache.catalina.core.StandardContext startInternal

 

你可能感兴趣的:(整合SSH框架报错java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java。。。)