[INFO]main-org.apache.catalina.core.AprLifecycleListener-The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_09\bin;C:\apache-tomcat-5.5.20\bin
[INFO]main-org.apache.catalina.core.AprLifecycleListener-The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_09\bin;C:\apache-tomcat-5.5.20\bin
[INFO]main-org.apache.catalina.startup.Catalina-Initialization processed in 2719 ms
[INFO]main-org.apache.catalina.startup.Catalina-Initialization processed in 2719 ms
[INFO]main-org.apache.catalina.core.StandardService-Starting service Catalina
[INFO]main-org.apache.catalina.core.StandardService-Starting service Catalina
[INFO]main-org.apache.catalina.core.StandardEngine-Starting Servlet Engine: Apache Tomcat/5.5.20
[INFO]main-org.apache.catalina.core.StandardEngine-Starting Servlet Engine: Apache Tomcat/5.5.20
[INFO]main-org.apache.catalina.core.StandardHost-XML validation disabled
[INFO]main-org.apache.catalina.core.StandardHost-XML validation disabled
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/balancer]-org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/balancer]-org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples]-ContextListener: contextInitialized()
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples]-ContextListener: contextInitialized()
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples]-SessionListener: contextInitialized()
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jsp-examples]-SessionListener: contextInitialized()
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples]-ContextListener: contextInitialized()
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples]-ContextListener: contextInitialized()
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples]-SessionListener: contextInitialized()
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/servlets-examples]-SessionListener: contextInitialized()
[INFO]main-org.apache.catalina.loader.WebappClassLoader-validateJarFile(C:\apache-tomcat-5.5.20\webapps\HSKJTree\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
[INFO]main-org.apache.catalina.loader.WebappClassLoader-validateJarFile(C:\apache-tomcat-5.5.20\webapps\HSKJTree\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
[ERROR]main-org.directwebremoting.spring.SpringCreator-DWR can't find a spring config. See following info logs for solutions
[ERROR]main-org.directwebremoting.spring.SpringCreator-Error
java.lang.InstantiationException: DWR can't find a spring config. See the logs for solutions
at org.directwebremoting.spring.SpringCreator.getInstance(SpringCreator.java:140)
at org.directwebremoting.spring.SpringCreator.getType(SpringCreator.java:105)
at org.directwebremoting.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:116)
at org.directwebremoting.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:98)
at org.directwebremoting.impl.DwrXmlConfigurator.loadCreate(DwrXmlConfigurator.java:274)
at org.directwebremoting.impl.DwrXmlConfigurator.loadAllows(DwrXmlConfigurator.java:224)
at org.directwebremoting.impl.DwrXmlConfigurator.configure(DwrXmlConfigurator.java:170)
at org.directwebremoting.impl.ContainerUtil.configureFromDefaultDwrXml(ContainerUtil.java:239)
at org.directwebremoting.impl.ContainerUtil.configureContainerFully(ContainerUtil.java:396)
at org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:77)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
[ERROR]main-org.directwebremoting.spring.SpringCreator-Failed to instansiate object to detect type.
java.lang.InstantiationException: java.lang.InstantiationException: DWR can't find a spring config. See the logs for solutions
at org.directwebremoting.spring.SpringCreator.getInstance(SpringCreator.java:152)
at org.directwebremoting.spring.SpringCreator.getType(SpringCreator.java:105)
at org.directwebremoting.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:116)
at org.directwebremoting.impl.DefaultCreatorManager.addCreator(DefaultCreatorManager.java:98)
at org.directwebremoting.impl.DwrXmlConfigurator.loadCreate(DwrXmlConfigurator.java:274)
at org.directwebremoting.impl.DwrXmlConfigurator.loadAllows(DwrXmlConfigurator.java:224)
at org.directwebremoting.impl.DwrXmlConfigurator.configure(DwrXmlConfigurator.java:170)
at org.directwebremoting.impl.ContainerUtil.configureFromDefaultDwrXml(ContainerUtil.java:239)
at org.directwebremoting.impl.ContainerUtil.configureContainerFully(ContainerUtil.java:396)
at org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:77)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/HSKJTree]-Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
[INFO]main-org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/HSKJTree]-Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
[INFO]main-org.apache.catalina.storeconfig.StoreLoader-Find registry server-registry.xml at classpath resource
[INFO]main-org.apache.catalina.storeconfig.StoreLoader-Find registry server-registry.xml at classpath resource
[INFO]main-org.apache.catalina.startup.Catalina-Server startup in 21953 ms
[INFO]main-org.apache.catalina.startup.Catalina-Server startup in 21953 ms
[b][/b]
怎dwr找不到spring config
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
4条回答 默认 最新
- bohemia 2008-12-02 09:03关注
- 配置Spring到DWR加载的前面, 确保 Spring先于DWR加载;
- 确保Spring正确配置了.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 求京东批量付款能替代天诚
- ¥15 slaris 系统断电后,重新开机后一直自动重启
- ¥15 51寻迹小车定点寻迹
- ¥15 谁能帮我看看这拒稿理由啥意思啊阿啊
- ¥15 关于vue2中methods使用call修改this指向的问题
- ¥15 idea自动补全键位冲突
- ¥15 请教一下写代码,代码好难
- ¥15 iis10中如何阻止别人网站重定向到我的网站
- ¥15 滑块验证码移动速度不一致问题
- ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含