求大神帮助:com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.

Struts2的错误:Unable to load configuration. 求大神帮助鸭!!!!!难受死了!!!!万分感激!!!

求大神帮助:com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration._第1张图片

 

那个DoRegisterAction类也是有的,路径也对

struts.xml放在src目录下的






    
		
			/index.jsp	
		
    


 

DoRegisterAction.class

package com.ruide.action;

public class DoRegisterAction {
	private String username;
	private String userpass;
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserpass() {
		return userpass;
	}
	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}
	
	public String execute(){
		System.out.println(username+"+"+userpass);
		return "success";
	}
}

web.xml



  
        struts2
        org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
    
    
        struts2
        *.action
    

错误信息:

十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/9.0.1
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Sep 27 2017 17:31:52 UTC
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         9.0.1.0
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 10
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            10.0
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Java\jdk1.8.0_191\jre
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_191-b12
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\endorsed
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.library.path=C:\Java\jdk1.8.0_191\bin;G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\bin
十一月 02, 2019 8:19:10 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
十一月 02, 2019 8:19:10 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library [1.2.14] using APR version [1.6.2].
十一月 02, 2019 8:19:10 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
十一月 02, 2019 8:19:10 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
十一月 02, 2019 8:19:11 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized [OpenSSL 1.0.2l  25 May 2017]
十一月 02, 2019 8:19:11 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
十一月 02, 2019 8:19:12 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十一月 02, 2019 8:19:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
十一月 02, 2019 8:19:12 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十一月 02, 2019 8:19:12 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1632 ms
十一月 02, 2019 8:19:12 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Catalina]
十一月 02, 2019 8:19:12 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/9.0.1
十一月 02, 2019 8:19:12 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD07_13struts的DeptCRUD]
十一月 02, 2019 8:19:13 下午 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 No log4j2 configuration file found. Using default configuration: logging only errors to the console.
20:19:13.756 [main] ERROR org.apache.struts2.dispatcher.Dispatcher - Dispatcher initialization failed
com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70) ~[xwork-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978) ~[struts2-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446) ~[struts2-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490) [struts2-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) [struts2-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) [struts2-core-2.3.34.jar:2.3.34]
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:283) [catalina.jar:9.0.1]
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264) [catalina.jar:9.0.1]
	at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108) [catalina.jar:9.0.1]
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4491) [catalina.jar:9.0.1]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5131) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.1]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740) [catalina.jar:9.0.1]
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716) [catalina.jar:9.0.1]
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703) [catalina.jar:9.0.1]
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1134) [catalina.jar:9.0.1]
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868) [catalina.jar:9.0.1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.1]
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) [?:1.8.0_191]
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045) [catalina.jar:9.0.1]
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:433) [catalina.jar:9.0.1]
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1578) [catalina.jar:9.0.1]
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367) [catalina.jar:9.0.1]
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:964) [catalina.jar:9.0.1]
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.1]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425) [catalina.jar:9.0.1]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415) [catalina.jar:9.0.1]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.1]
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) [?:1.8.0_191]
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941) [catalina.jar:9.0.1]
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.1]
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.1]
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770) [catalina.jar:9.0.1]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.1]
	at org.apache.catalina.startup.Catalina.start(Catalina.java:671) [catalina.jar:9.0.1]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355) [bootstrap.jar:9.0.1]
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495) [bootstrap.jar:9.0.1]
Caused by: com.opensymphony.xwork2.config.ConfigurationException: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:247) ~[xwork-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102) ~[struts2-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:240) ~[xwork-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) ~[xwork-core-2.3.34.jar:2.3.34]
	... 49 more
Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAware
	at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_191]
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_191]
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_191]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2263) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:799) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104) ~[catalina.jar:9.0.1]
	at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_191]
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_191]
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_191]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2263) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:799) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104) ~[catalina.jar:9.0.1]
	at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144) ~[xwork-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:218) ~[xwork-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102) ~[struts2-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:240) ~[xwork-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) ~[xwork-core-2.3.34.jar:2.3.34]
	... 49 more
Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAware
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104) ~[catalina.jar:9.0.1]
	at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_191]
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_191]
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_191]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2263) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:799) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104) ~[catalina.jar:9.0.1]
	at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_191]
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_191]
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_191]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2263) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:799) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244) ~[catalina.jar:9.0.1]
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104) ~[catalina.jar:9.0.1]
	at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144) ~[xwork-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:218) ~[xwork-core-2.3.34.jar:2.3.34]
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102) ~[struts2-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:240) ~[xwork-core-2.3.34.jar:2.3.34]
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) ~[xwork-core-2.3.34.jar:2.3.34]
	... 49 more
十一月 02, 2019 8:19:13 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter [struts2]
Unable to load configuration. - bean - jar:file:/G:/tomcat/apache-tomcat-9.0.1-windows-x64/apache-tomcat-9.0.1/webapps/RD07_13struts的DeptCRUD/WEB-INF/lib/struts2-spring-plugin-2.3.32.jar!/struts-plugin.xml:29:132
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:504)
	at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:283)
	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:4491)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5131)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1134)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1868)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:433)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1578)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:964)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1425)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1415)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:671)
	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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
Caused by: Unable to load configuration. - bean - jar:file:/G:/tomcat/apache-tomcat-9.0.1-windows-x64/apache-tomcat-9.0.1/webapps/RD07_13struts的DeptCRUD/WEB-INF/lib/struts2-spring-plugin-2.3.32.jar!/struts-plugin.xml:29:132
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978)
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
	... 46 more
Caused by: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/G:/tomcat/apache-tomcat-9.0.1-windows-x64/apache-tomcat-9.0.1/webapps/RD07_13struts的DeptCRUD/WEB-INF/lib/struts2-spring-plugin-2.3.32.jar!/struts-plugin.xml:29:132
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:247)
	at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:240)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
	... 49 more
Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAware
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2263)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:799)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2263)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:799)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1244)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
	at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144)
	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:218)
	... 52 more
Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAware
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
	... 68 more
十一月 02, 2019 8:19:13 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
十一月 02, 2019 8:19:13 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/RD07_13struts的DeptCRUD] startup failed due to previous errors
十一月 02, 2019 8:19:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD07_13struts的DeptCRUD] has finished in [1,739] ms
十一月 02, 2019 8:19:13 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD07_16struts拦截器和文件上传下载]
十一月 02, 2019 8:19:14 下午 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 No log4j2 configuration file found. Using default configuration: logging only errors to the console.
十一月 02, 2019 8:19:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD07_16struts拦截器和文件上传下载] has finished in [1,730] ms
十一月 02, 2019 8:19:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD07_29Spring整合HibernateStruts]
十一月 02, 2019 8:19:17 下午 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.
十一月 02, 2019 8:19:17 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
十一月 02, 2019 8:19:17 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD07_29Spring整合HibernateStruts] has finished in [1,742] ms
十一月 02, 2019 8:19:17 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD2019_09_01WebService]
十一月 02, 2019 8:19:19 下午 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.
十一月 02, 2019 8:19:19 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
十一月 02, 2019 8:19:19 下午 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization started
十一月 02, 2019 8:19:19 下午 org.springframework.context.support.AbstractApplicationContext prepareRefresh
信息: Refreshing Root WebApplicationContext: startup date [Sat Nov 02 20:19:19 CST 2019]; root of context hierarchy
十一月 02, 2019 8:19:19 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from file [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD2019_09_01WebService\WEB-INF\classes\spring.xml]
十一月 02, 2019 8:19:20 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
十一月 02, 2019 8:19:20 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml]
十一月 02, 2019 8:19:20 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
十一月 02, 2019 8:19:20 下午 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7622670a: defining beans [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,sayhello,sayhellobean]; root of factory hierarchy
十一月 02, 2019 8:19:20 下午 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://www.ruide.com/ws/sayhello}SayHelloImplService from class com.ruide.ws.ISayHello
十一月 02, 2019 8:19:21 下午 org.apache.cxf.bus.spring.OldSpringSupport logWarning
警告: Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.
十一月 02, 2019 8:19:21 下午 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be /sayhello
十一月 02, 2019 8:19:21 下午 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL
信息: Creating Service {http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01}Discovery from WSDL: classpath:/org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl
十一月 02, 2019 8:19:21 下午 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be soap.udp://239.255.255.250:3702
十一月 02, 2019 8:19:22 下午 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01}DiscoveryProxy from class org.apache.cxf.jaxws.support.DummyImpl
十一月 02, 2019 8:19:22 下午 org.springframework.web.context.ContextLoader initWebApplicationContext
信息: Root WebApplicationContext: initialization completed in 2757 ms
十一月 02, 2019 8:19:22 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\RD2019_09_01WebService] has finished in [5,357] ms
十一月 02, 2019 8:19:22 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\ROOT]
十一月 02, 2019 8:19:22 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\ROOT] has finished in [12] ms
十一月 02, 2019 8:19:22 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\test]
十一月 02, 2019 8:19:22 下午 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.
十一月 02, 2019 8:19:22 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory [G:\tomcat\apache-tomcat-9.0.1-windows-x64\apache-tomcat-9.0.1\webapps\test] has finished in [86] ms
十一月 02, 2019 8:19:22 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
十一月 02, 2019 8:19:22 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
十一月 02, 2019 8:19:22 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 10723 ms
	

 

你可能感兴趣的:(求大神帮助:com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.)