当前位置: 代码迷 >> Web前端 >> 工程异常 求神指教
  详细解决方案

工程异常 求神指教

热度:250   发布时间:2013-07-09 09:50:47.0
工程错误 求神指教

04 下午 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error

严重: Dispatcher initialization failed

com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory).

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:144)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:113)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:90)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:86)

at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:71)

at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:67)

at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:150)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:76)

at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:116)

at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:483)

at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:523)

at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:521)

at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)

at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:521)

at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:192)

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)

at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)

at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4038)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4692)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)

at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

at org.apache.catalina.core.StandardService.start(StandardService.java:525)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:701)

at org.apache.catalina.startup.Catalina.start(Catalina.java:585)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory).

at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:235)

at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:225)

at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:287)

at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:117)

at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:114)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:141)

... 48 more

?

七月 07, 2013 8:22:04 下午 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter Struts2

com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory). - Class: com.opensymphony.xwork2.inject.ContainerImpl

File: ContainerImpl.java

Method: addInjectorsForMembers

Line: 144 - com/opensymphony/xwork2/inject/ContainerImpl.java:144:-1

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)

at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)

at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4038)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4692)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)

at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

at org.apache.catalina.core.StandardService.start(StandardService.java:525)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:701)

at org.apache.catalina.startup.Catalina.start(Catalina.java:585)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory).

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:144)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:113)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:90)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectors(ContainerImpl.java:86)

at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:71)

at com.opensymphony.xwork2.inject.ContainerImpl$1.create(ContainerImpl.java:67)

at com.opensymphony.xwork2.inject.util.ReferenceCache$CallableCreate.call(ReferenceCache.java:150)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at com.opensymphony.xwork2.inject.util.ReferenceCache.internalCreate(ReferenceCache.java:76)

at com.opensymphony.xwork2.inject.util.ReferenceCache.get(ReferenceCache.java:116)

at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:483)

at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:523)

at com.opensymphony.xwork2.inject.ContainerImpl$6.call(ContainerImpl.java:521)

at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)

at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:521)

at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:192)

at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)

at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)

at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)

... 29 more

Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=com.opensymphony.xwork2.ObjectFactory, name='default'] in public void com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.setObjectFactory(com.opensymphony.xwork2.ObjectFactory).

at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:235)

at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:225)

at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:287)

at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:117)

at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:114)

at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:141)

... 48 more

?

七月 07, 2013 8:22:04 下午 org.apache.catalina.core.StandardContext start

严重: Error filterStart

七月 07, 2013 8:22:04 下午 org.apache.catalina.core.StandardContext start

严重: Context [/subangloan] startup failed due to previous errors

七月 07, 2013 8:22:04 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

严重: The web application [/subangloan] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

七月 07, 2013 8:22:04 下午 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

严重: The web application [/subangloan] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1aa56b7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@232b15]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

七月 07, 2013 8:22:04 下午 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

严重: The web application [/subangloan] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@e1a30f]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1984f10]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

七月 07, 2013 8:22:05 下午 org.apache.catalina.startup.HostConfig deployDirectory

信息: Deploying web application directory WirelessOrder_Server

七月 07, 2013 8:22:05 下午 org.apache.coyote.http11.Http11Protocol start

信息: Starting Coyote HTTP/1.1 on http-8088

七月 07, 2013 8:22:05 下午 org.apache.jk.common.ChannelSocket init

信息: JK: ajp13 listening on /0.0.0.0:8009

七月 07, 2013 8:22:05 下午 org.apache.jk.server.JkMain start

信息: Jk running ID=0 time=0/24 ?config=null

七月 07, 2013 8:22:05 下午 org.apache.catalina.startup.Catalina start

信息: Server startup in 1632 ms



?

  相关解决方案