spring jar 包下载地址

展开阅读全文

struts2 spring jar 包 问题

09-21

信息: Initializing Spring root WebApplicationContextrn2012-9-21 10:02:29 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - bean - jar:file:/C:/Tomcat%206.0/webapps/TaskManSystem/WEB-INF/lib/struts2-spring-plugin-2.1.8.jar!/struts-plugin.xml:29:132rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:578)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to load configuration. - bean - jar:file:/C:/Tomcat%206.0/webapps/TaskManSystem/WEB-INF/lib/struts2-spring-plugin-2.1.8.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)rn ... 29 morernCaused by: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/C:/Tomcat%206.0/webapps/TaskManSystem/WEB-INF/lib/struts2-spring-plugin-2.1.8.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 31 morernCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name spring has already been loaded by bean - jar:file:/C:/Tomcat%206.0/webapps/TaskManSystem/WEB-INF/lib/struts2-spring-plugin-2.1.6.jar!/struts-plugin.xml:29:132 - bean - jar:file:/C:/Tomcat%206.0/webapps/TaskManSystem/WEB-INF/lib/struts2-spring-plugin-2.1.8.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)rn ... 34 morern2012-9-21 10:02:29 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2012-9-21 10:02:29 org.apache.catalina.core.StandardContext startrn严重: Context [/TaskManSystem] startup failed due to previous errorsrn2012-9-21 10:02:29 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2012-9-21 10:02:30 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(C:\Tomcat 6.0\webapps\Users\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2012-9-21 10:02:30 org.apache.catalina.core.StandardContext addApplicationListenerrn信息: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.rnlog4j:WARN No appenders could be found for logger (org.springframework.core.CollectionFactory).rnlog4j:WARN Please initialize the log4j system properly.rn2012-9-21 10:02:30 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn2012-9-21 10:02:35 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-9-21 10:02:35 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2012-9-21 10:02:35 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/32 config=nullrn2012-9-21 10:02:35 org.apache.catalina.startup.Catalina startrn信息: Server startup in 8268 msrnrn启动时报如上错误 论坛

没有更多推荐了,返回首页