Strus2 Unable to load configuration.

程序启动的时候报错:
严重: Exception starting filter struts2
Unable to load configuration. - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/classes/struts.xml:7:85
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:502)
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: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:4958)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: Unable to load configuration. - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/classes/struts.xml:7:85
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
... 14 more
Caused by: Action class [com.itheima.web.action.HelloAction] not found - action - file:/home/yinyutai/self/app/Tomcat/apache-tomcat-7.0.75/webapps/day24_struts1/WEB-INF/classes/struts.xml:7:85
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:482)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:426)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:552)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:250)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
... 16 more
但是看了提示的那个位置,写的是:
  那个位置是method="sayHello" 没发现有什么错误!
这是引用的jar文件
HelloAction.java:
package com.itheima.web.action;
/**

  • Struts2入门案例
  • @author root * / public class HelloAction { /*
    • 在动作类中制定的动作方法
    • 动作方法的书写要求:
    • 1.都是public的
    • 2.返回值必须是String
    • 3.必须没有参数
    • @return */ public String sayHello() { System.out.println("sayHello,方法执行了!"); return "success"; }

}
web.xml:

<?xml version="1.0" encoding="UTF-8"?>


day24_struts1
<!-- 配置struts核心过滤器,就是一个过滤器 -->

<filter>
    <filter-name>struts2</filter-name>
    <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>


index.jsp

请大神,给看下,这是一个Struts2的一个小例子但是没有启动起来不知到错误出在哪里,谢谢。

2个回答

HelloAction 这个类没有extends ActionSupport这个吧!!!

qq_26104055
qq_26104055 谢谢大神!,已处理。
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Unable to load configuration.
Unable to load configuration. - bean - jar:file:/D:/projects/tomcat/temp/2-training-management-portlet/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72rnrn用的jar包有:rnxwork-core-2.1.6.jar,struts2-core-2.1.8.1.jar,ognl-2.7.3.jar,freemarker-2.3.15.jar,commons-logging-1.0.4.jar,commons-io-1.3.2.jar,commons-fileupload-1.2.1.jarrnrnstruts.xmlrnrnrn rn rn rn rn /view.jsprn rn rnrnrnweb.xmlrn struts2rn org.apache.struts2.dispatcher.FilterDispatcherrn struts2rn /* rnrn
Unable to load configuration. - package
我改了一个类的名字,其中有个错误,改了以后就访问不了网页了,显示错误Unable to load configuration. - packagern这是怎么回事?
Unable to load configuration. - Class: org.apache.xml.utils.DOMBuilder
急求!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Unable to load configuration. - Class: com.opensymphony.xwork2.config.providers.
2014-09-01 10:04:36,335 ERROR -Dispatcher initialization failedrnUnable to load configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: loadConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)rn at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)rn at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)rn at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)rn at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)rn at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)rn at org.mortbay.jetty.Server.doStart(Server.java:224)rn at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)rn at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)rn at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)rn at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)rn at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)rn at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)rn at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)rn at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)rn at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)rn at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)rn at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)rn at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.classworlds.Launcher.main(Launcher.java:46)rnCaused by: Error loading configuration file struts-default.xml - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: loadConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:169)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:225)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 48 morernCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1045)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:165)rn ... 51 morern[WARNING] failed struts2: Unable to load configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: loadConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn[ERROR] Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@d704f0/service,E:\sinosofthaida\online\src\main\webapprnUnable to load configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: loadConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:502)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.classworlds.Launcher.main(Launcher.java:46)rnCaused by: Unable to load configuration. - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: loadConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)rn ... 46 morernCaused by: Error loading configuration file struts-default.xml - Class: com.opensymphony.xwork2.config.providers.XmlConfigurationProviderrnFile: XmlConfigurationProvider.javarnMethod: loadConfigurationFilesrnLine: 1045 - com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java:1045:-1rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:169)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:132)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:225)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 48 morernCaused by: java.lang.NullPointerExceptionrn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:1045)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:165)rn ... 51 morernrn项目启动就报错,什么情况
SSH在启动时报错Unable to load configuration.
[code=XML]rnrn rn contextConfigLocation rn rn /WEB-INF/classes/applicationContext.xml rn rn rn rn rn rn org.springframework.web.context.ContextLoaderListenerrn rn rn rn rn struts2rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn rn configrn /WEB-INF/classes/struts.xmlrn rn rnrn rn struts2rn /*rn rnrn[/code]rnrn[code=Java]rn严重: Dispatcher initialization failedrnUnable to load configuration. - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)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.initFilter(ApplicationFilterConfig.java:277)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)rn at java.lang.Thread.run(Thread.java:722)rnCaused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectionProvider.java:202)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 22 morernrn六月 18, 2012 12:03:02 上午 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - [unknown location]rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)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.initFilter(ApplicationFilterConfig.java:277)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)rn at java.lang.Thread.run(Thread.java:722)rnCaused by: Unable to load configuration. - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)rn ... 20 morernCaused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectionProvider.java:202)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 22 morernrn六月 18, 2012 12:03:02 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Error filterStartrn六月 18, 2012 12:03:02 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/exttest] startup failed due to previous errorsrn[/code]rn弄了好久没有解决,望各位大神帮忙解决下。在网上查了好久说是没有加这个包struts2-spring-plugin-2.2.3.1。但是我已经加了。还是报这个错误。在这不胜感激了。spring跟hibernate整合我已经测得没有问题了。跟struts就出了这问题。rnrnrnrn
Unable to load configuration. - bean - jar:file
严重: Dispatcher initialization failedrnUnable to load configuration. - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72rn 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 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:4363)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:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)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 bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72rn 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 xwork has already been loaded by bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72 - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)rn ... 34 morern2011-12-31 17:06:26 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72rn 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:4363)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:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)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:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72rn 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: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72rn 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 xwork has already been loaded by bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72 - bean - jar:file:/D:/Program%20Files/Tomcat%206.0/webapps/StrutsTest/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)rn ... 34 morern2011-12-31 17:06:26 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2011-12-31 17:06:26 org.apache.catalina.core.StandardContext startrn严重: Context [/StrutsTest] startup failed due to previous errorsrn2011-12-31 17:06:26 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-12-31 17:06:26 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2011-12-31 17:06:26 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/16 config=nullrn2011-12-31 17:06:26 org.apache.catalina.startup.Catalina start
struts2问题:Unable to load configuration. - action - file:/......
[b]异常:[/b]rnrnrn[color=#FF0000]2013-7-22 17:58:21 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;E:/Java/jre6/bin/client;E:/Java/jre6/bin;E:/Java/jre6/lib/i386;E:\Oracle\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Java\jdk1.6.0_26\bin;E:\MySQL\MySQL Server 5.5\bin;E:\TortoiseSVN\bin;E:\Oracle\product\11.2.0\client_1\BIN;E:\eclipseJUNO;;.rn2013-7-22 17:58:21 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:Login_SSH' did not find a matching property.rn2013-7-22 17:58:22 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn2013-7-22 17:58:22 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn2013-7-22 17:58:22 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 725 msrn2013-7-22 17:58:22 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2013-7-22 17:58:22 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.42rn2013-7-22 17:58:24 org.apache.catalina.core.ApplicationContext logrn信息: No Spring WebApplicationInitializer types detected on classpathrn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-default.xml]rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts-plugin.xml]rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Parsing configuration file [struts.xml]rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper)rn2013-7-22 17:58:24 com.opensymphony.xwork2.util.logging.commons.CommonsLogger inforn信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser)rn2013-7-22 17:58:25 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Dispatcher initialization failedrnUnable to load configuration. - action - file:/E:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Login_SSH/WEB-INF/classes/struts.xml:16:97rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: Action class [com.dqgb.Action.RegisterAction] not found - action - file:/E:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/Login_SSH/WEB-INF/classes/struts.xml:16:97rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:482)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:426)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:552)rn rnrn
Exception starting filter struts2 Unable to load configuration.
严重: Exception starting filter struts2rnUnable to load configuration. - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48)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:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)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:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)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:566)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: Caught exception while loading file struts-default.xml - [unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:894)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:144)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:164)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 31 morernCaused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfigurationrn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.parsers.DOMParser.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderImpl.(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source)rn at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.(SAX2DOM.java:69)rn at com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:187)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392)rn at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerHandlerImpl.setResult(TransformerHandlerImpl.java:137)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.setup(DomHelper.java:205)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:190)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:181)rn at com.opensymphony.xwork2.util.DomHelper$DOMBuilder.(DomHelper.java:167)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:107)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:885)rn ... 35 morernrnrn这是报的什么错啊 ,我调试了好久都没有用,我头都晕了!!求高手指教啊
Dispatcher initialization failed Unable to load configuration.
严重: Dispatcher initialization failedrnUnable to load configuration. - action - file:/E:/works/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWeibo/WEB-INF/classes/struts.xml:8:94rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)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.initFilter(ApplicationFilterConfig.java:277)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)rn at java.lang.Thread.run(Thread.java:722)rnCaused by: Action class [com.insigma.struts.WeiboinfoAction] not found - action - file:/E:/works/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWeibo/WEB-INF/classes/struts.xml:8:94rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:420)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:365)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:479)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:275)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 18 morernrn四月 23, 2012 7:37:48 下午 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - action - file:/E:/works/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWeibo/WEB-INF/classes/struts.xml:8:94rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)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.initFilter(ApplicationFilterConfig.java:277)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:103)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4638)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)rn at java.util.concurrent.FutureTask.run(FutureTask.java:166)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)rn at java.lang.Thread.run(Thread.java:722)rnCaused by: Unable to load configuration. - action - file:/E:/works/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWeibo/WEB-INF/classes/struts.xml:8:94rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)rn ... 16 morernCaused by: Action class [com.insigma.struts.WeiboinfoAction] not found - action - file:/E:/works/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWeibo/WEB-INF/classes/struts.xml:8:94rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:420)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:365)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:479)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:275)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 18 morernrn四月 23, 2012 7:37:48 下午 org.apache.catalina.core.StandardContext startInternalrn严重: Error filterStartrn四月 23, 2012 7:37:48 下午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/MyWeibo] startup failed due to previous errorsrn四月 23, 2012 7:37:48 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/MyWeibo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1e46afc]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@12be51c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn四月 23, 2012 7:37:48 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/MyWeibo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@ce9a12]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e5414a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn四月 23, 2012 7:37:48 下午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["http-bio-8080"]rn四月 23, 2012 7:37:48 下午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-bio-8009"]rn四月 23, 2012 7:37:48 下午 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1801 msrnrn求各路大神指点!
收藏 求教高手:Unable to load configuration. - bean - jar:file:
[11:41:25.895] main Caused by: Unable to load configuration. - bean - jar:file:/E:/Workspace2/MSAdapter/WebRoot/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72rn[11:41:25.895] main at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)rn[11:41:25.895] main at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn[11:41:25.895] main at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn[11:41:25.895] main at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:197)rn[11:41:25.895] main ... 18 morern[11:41:25.895] main Caused by: Unable to load configuration. - bean - jar:file:/E:/Workspace2/MSAdapter/WebRoot/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72rn[11:41:25.895] main at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn[11:41:25.895] main at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)rn[11:41:25.895] main at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)rn[11:41:25.895] main ... 21 morern[11:41:25.895] main Caused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/E:/Workspace2/MSAdapter/WebRoot/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72rn[11:41:25.895] main at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:221)rn[11:41:25.895] main at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn[11:41:25.895] main at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)rn[11:41:25.895] main at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn[11:41:25.895] main ... 23 morern[11:41:25.895] main Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/E:/Workspace2/MSBP_Refactor/WebRoot/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72 - bean - jar:file:/E:/Workspace2/MSAdapter/WebRoot/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:29:72rn[11:41:25.895] main at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:205)rn[11:41:25.895] main ... 26 morernrnrn怎么回事儿啊?
struts2.18怎么启动不了呢?Unable to load configuration. - action
tomcat6.0.14,struts2.1.81,简单的一个例子居然就不能成功,郁闷啊,已导入的jar包有7个,分别是:rn[color=#FF0000]commons-fileupload-1.2.1.jarrncommons-io-1.3.2.jarrncommons-logging-1.0.4.jarrnfreemarker-2.3.15.jarrnognl-2.7.3.jarrnstruts2-core-2.1.8.1.jarrnxwork-core-2.1.6.jarrn[/color]rn我的web.xml如下:rn[code=Java]rnrnrnrn rn struts2rn rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn rn rn rn struts2rn /*rn rn rn rn index.jsprn rn rnrn[/code]rnrnsrc下的struts.xml如下:rn[code=Java]rnrnrnrnrn rn rn /succ.jsprn /fail.jsprn rn rnrn[/code]rnrnRegisterAction.java如下:rn[code=Java]rnpackage com.ac.action;rnrnimport com.opensymphony.xwork2.ActionSupport;rnrnpublic class RegisterAction extends ActionSupport rnrn private String username;rn private String password;rn private String password2;rn rn public String getUsername() rn return username;rn rn public void setUsername(String username) rn this.username = username;rn rn public String getPassword() rn return password;rn rn public void setPassword(String password) rn this.password = password;rn rn public String getPassword2() rn return password2;rn rn public void setPassword2(String password2) rn this.password2 = password2;rn rn rn @Overridern public String execute() throws Exception rn return "success";rn rn rnrnrnrn[/code]rnrnconf下的sever.xml如下:rn[code=Java]rn.rn.rn rn.rn.[/code]rnrnreg.jsp如下:rn[code=Java]rn rn rn rn rn 用户名:rn rn rn rn 密 码:rn rn rn rn 重复密码:rn rn rn rn rn rn rn rn rnrn[/code]rnrn最后结果,连启动都启动不起来,错误信息如下:rnrn[code=Java]rn严重: Exception starting filter struts2rnUnable to load configuration. - action - file:/E:/workspace/aaa/WebRoot/WEB-INF/classes/struts.xml:8:65rn 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:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3838)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)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:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: Unable to load configuration. - action - file:/E:/workspace/aaa/WebRoot/WEB-INF/classes/struts.xml:8:65rn 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 ... 20 morernCaused by: Error building results for action register in namespace - action - file:/E:/workspace/aaa/WebRoot/WEB-INF/classes/struts.xml:8:65rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:367)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:468)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 22 morernCaused by: There is no result type defined for type 'success' mapped with name 'success'. Did you mean 'success'? - result - file:/E:/workspace/aaa/WebRoot/WEB-INF/classes/struts.xml:9:27rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:621)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:365)rn ... 27 morern2010-6-1 16:04:45 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010-6-1 16:04:45 org.apache.catalina.core.StandardContext startrn严重: Context [/reg] startup failed due to previous errorsrn2010-6-1 16:04:45 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: A web application registered the JBDC 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.rn2010-6-1 16:04:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1fa681c]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@c92507]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2010-6-1 16:04:45 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@19e09a4]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@8aeed0]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2010-6-1 16:04:45 org.apache.catalina.loader.WebappClassLoader validateJarFilern[/code]rnrn搜遍百度,google也没找到相应的解决办法,拜求大神帮忙啊,谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢rnrn
关于Unable to load configuration. - action - file:/C:/Program%20Files/apache-tomca
在myeclipse8.5 tomcat 7.0rnUnable to load configuration. - action - file:/C:/Program%20Files/apache-tomcat-7.0.5/webapps/ch02/WEB-INF/classes/struts.xml:7:76rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:273)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:98)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4405)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5037)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:570)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1010)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:933)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1267)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:328)rn at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:308)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1043)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:738)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1035)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:289)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:442)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:674)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:596)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:303)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)rnCaused by: Action class [org.sunxin.struts2.action.RegisterAction] not found - action - file:/C:/Program%20Files/apache-tomcat-7.0.5/webapps/ch02/WEB-INF/classes/struts.xml:7:76rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:420)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:365)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:479)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:275)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 39 morern2011-1-17 13:24:45 org.apache.catalina.core.StandardContext filterStartrnjar包有:commons-fildupload-1.2.1.jar commons-io-1.3.2.jar commons-logging-1.0.4.jar freemarker-2.3.26.jar rnjavassist-3.7.jar ognl-3.0.jar struts2-core-2.2.1.jar xwork-core-2.2.1.jar
Unable to load configuration. - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0
严重: Dispatcher initialization failedrnUnable to load configuration. - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.3.16.3.jar!/struts-default.xml:40:72rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)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.initFilter(ApplicationFilterConfig.java:279)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4828)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5508)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.3.16.3.jar!/struts-default.xml:40:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 20 morernCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name struts has already been loaded by bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.2.1.jar!/struts-default.xml:30:124 - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.3.16.3.jar!/struts-default.xml:40:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:216)rn ... 23 morern九月 29, 2014 10:50:36 上午 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.3.16.3.jar!/struts-default.xml:40:72rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:428)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.initFilter(ApplicationFilterConfig.java:279)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4828)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5508)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: Unable to load configuration. - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.3.16.3.jar!/struts-default.xml:40:72rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn ... 18 morernCaused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.3.16.3.jar!/struts-default.xml:40:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 20 morernCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name struts has already been loaded by bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.2.1.jar!/struts-default.xml:30:124 - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-core-2.3.16.3.jar!/struts-default.xml:40:72rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:216)rn ... 23 morern九月 29, 2014 10:50:36 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Error filterStartrn九月 29, 2014 10:50:36 上午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/Hellostruts] startup failed due to previous errorsrn九月 29, 2014 10:50:36 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/Hellostruts] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@105481]) and a value of type [java.util.HashMap] (value [com.sun.faces.patternCache= = ]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn九月 29, 2014 10:50:36 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\Workspaces\apache-tomcat-7.0.55\webapps\Hellostruts has finished in 3,059 msrn九月 29, 2014 10:50:36 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\Workspaces\apache-tomcat-7.0.55\webapps\host-managerrn九月 29, 2014 10:50:37 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\Workspaces\apache-tomcat-7.0.55\webapps\host-manager has finished in 50 msrn九月 29, 2014 10:50:37 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\Workspaces\apache-tomcat-7.0.55\webapps\managerrn九月 29, 2014 10:50:37 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\Workspaces\apache-tomcat-7.0.55\webapps\manager has finished in 36 msrn九月 29, 2014 10:50:37 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory D:\Workspaces\apache-tomcat-7.0.55\webapps\ROOTrn九月 29, 2014 10:50:37 上午 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deployment of web application directory D:\Workspaces\apache-tomcat-7.0.55\webapps\ROOT has finished in 39 msrn九月 29, 2014 10:50:37 上午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["http-apr-8080"]rn九月 29, 2014 10:50:37 上午 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-apr-8009"]rn九月 29, 2014 10:50:37 上午 org.apache.catalina.startup.Catalina startrn信息: Server startup in 3844 msrnrnrn折腾了好几天,网上的方法都试了还是没用,lib下把struts2的包全导进去了的,应该没有少,求大家集思广益呀!
struts部署不成功Dispatcher initialization。failed Unable to load configuration.
严重: Dispatcher initialization failedrnUnable to load configuration. - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-spring-plugin-2.3.16.3.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4828)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5508)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-spring-plugin-2.3.16.3.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:245)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:234)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 20 morernCaused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAwarern at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:760)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)rn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:760)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)rn at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:216)rn ... 23 morernCaused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAwarern at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)rn ... 39 morern九月 29, 2014 12:15:46 下午 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-spring-plugin-2.3.16.3.jar!/struts-plugin.xml:29:132rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:501)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4828)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5508)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: Unable to load configuration. - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-spring-plugin-2.3.16.3.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)rn ... 18 morernCaused by: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/D:/Workspaces/apache-tomcat-7.0.55/webapps/Hellostruts/WEB-INF/lib/struts2-spring-plugin-2.3.16.3.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:245)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:234)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 20 morernCaused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAwarern at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:760)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)rn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:760)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)rn at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:216)rn ... 23 morernCaused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContextAwarern at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)rn ... 39 morern九月 29, 2014 12:15:46 下午 org.apache.catalina.core.StandardContext startInternalrn严重: Error filterStartrn九月 29, 2014 12:15:46 下午 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/Hellostruts] startup failed due to previous errorsrn九月 29, 2014 12:15:46 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/Hellostruts] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@cffb79]) and a value of type [java.util.HashMap] (value [com.sun.faces.patternCache= = ]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn九月 29, 2014 12:15:46 下午 org.apache.catalina.startup.HostConfig deployDirectoryrnrn求助,感激涕零
严重: Exception starting filter struts2 Unable to load configuration. - action - f
严重: Exception starting filter struts2rnUnable to load configuration. - action - file:/E:/tomcat7.23/apache-tomcat-7.0.23/webapps/struts_1/WEB-INF/classes/struts.xml
Exception starting filter struts2 Unable to load configuration. - bean -
Exception starting filter struts2rnUnable to load configuration. - bean - jar:file:/F:/Tomcat7.0/webapps/SSH/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:360)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:403)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:48)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4917)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5609)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1975)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: Unable to load bean: type:org.apache.struts2.dispatcher.multipart.MultiPartRequest class:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest - bean - jar:file:/F:/Tomcat7.0/webapps/SSH/WEB-INF/lib/struts2-core-2.1.6.jar!/struts-default.xml:46:178rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:165)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 21 morernCaused by: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/RequestContextrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)rn at java.lang.Class.getDeclaredConstructors(Class.java:1836)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:212)rn ... 24 morernCaused by: java.lang.ClassNotFoundException: org.apache.commons.fileupload.RequestContextrn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1856)rn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1705)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 28 morernrn附上两张配置[img=https://img-bbs.csdn.net/upload/201602/29/1456677711_985563.png][/img]rn[img=https://img-bbs.csdn.net/upload/201602/29/1456677988_796819.png][/img]rnrn寻求帮助[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/43.gif][/img]rn
求教高手:Unable to load configuration. - bean - jar:file:
今天配置Struts2时出了这个问题,求高手指点,错误信息如下:rnrnUnable to load configuration. - bean - jar:file:/D:/MyWorkSpase/tomcat-6.0.20/webapps/LMS/WEB-INF/lib/struts2-gxp-plugin-2.3.1.2.jar!/struts-plugin.xml:8:162rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)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:3800)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)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:526)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)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:583)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 bean: type:org.apache.struts2.views.gxp.inject.InjectedObjectContainer class:org.apache.struts2.views.gxp.inject.InjectedObjectContainer - bean - jar:file:/D:/MyWorkSpase/tomcat-6.0.20/webapps/LMS/WEB-INF/lib/struts2-gxp-plugin-2.3.1.2.jar!/struts-plugin.xml:8:162rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:235)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 31 more
ssh整合错误:Unable to load configuration. - [unknown location]
[code=Java]rn2010-4-2 20:15:08 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: G:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;G:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.5.0.me201003121946\tomcat\binrn2010-4-2 20:15:08 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2010-4-2 20:15:08 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1160 msrn2010-4-2 20:15:08 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2010-4-2 20:15:08 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.13rn2010-4-2 20:15:12 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn2010-04-02 20:15:27,906 ERROR [org.apache.struts2.dispatcher.Dispatcher] - Dispatcher initialization failedrnUnable to load configuration. - [unknown location]rn 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 at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)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:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)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:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)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:566)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: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectionProvider.java:203)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 30 morern2010-4-2 20:15:27 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - [unknown location]rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)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:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)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:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)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:566)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. - [unknown location]rn 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 ... 28 morernCaused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:293)rn at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:264)rn at org.apache.struts2.config.BeanSelectionProvider.register(BeanSelectionProvider.java:203)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:169)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)rn ... 30 morern2010-4-2 20:15:27 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2010-4-2 20:15:27 org.apache.catalina.core.StandardContext startrn严重: Context [/blog] startup failed due to previous errorsrn2010-4-2 20:15:27 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrnlog4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.rn2010-4-2 20:15:29 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2010-4-2 20:15:29 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2010-4-2 20:15:29 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/125 config=nullrn2010-4-2 20:15:29 org.apache.catalina.startup.Catalina startrn信息: Server startup in 21497 msrnrnrn[/code]rnrn版本:rnspring:3.0.1 rnhibernate:3.3 rnstruts:2.1.8
项目启动报错Unable to load configuration. - action - file 求大神解决。。。。
Unable to load configuration. - action - file:/C:/Myeclipse6.5/workspace/apache-tomcat-6.0.29/webapps/login/WEB-INF/classes/information.xml:8:94rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)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:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: Error building results for action information in namespace /information - action - file:/C:/Myeclipse6.5/workspace/apache-tomcat-6.0.29/webapps/login/WEB-INF/classes/information.xml:8:94rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:389)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:495)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:286)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:234)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 30 morernCaused by: There is no result type defined for type 'redirect-action' mapped with name 'executeAdd'. Did you mean 'redirectAction'? - result - file:/C:/Myeclipse6.5/workspace/apache-tomcat-6.0.29/webapps/login/WEB-INF/classes/information.xml:19:53rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:653)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:387)rn ... 35 morern2013-2-15 16:14:57 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - action - file:/C:/Myeclipse6.5/workspace/apache-tomcat-6.0.29/webapps/login/WEB-INF/classes/information.xml:8:94rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:450)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)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:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: Unable to load configuration. - action - file:/C:/Myeclipse6.5/workspace/apache-tomcat-6.0.29/webapps/login/WEB-INF/classes/information.xml:8:94rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn ... 28 morernCaused by: Error building results for action information in namespace /information - action - file:/C:/Myeclipse6.5/workspace/apache-tomcat-6.0.29/webapps/login/WEB-INF/classes/information.xml:8:94rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:389)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:495)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:286)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:234)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 30 morernCaused by: There is no result type defined for type 'redirect-action' mapped with name 'executeAdd'. Did you mean 'redirectAction'? - result - file:/C:/Myeclipse6.5/workspace/apache-tomcat-6.0.29/webapps/login/WEB-INF/classes/information.xml:19:53rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:653)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:387)rn ... 35 morern2013-2-15 16:14:57 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2013-2-15 16:14:57 org.apache.catalina.core.StandardContext startrn严重: Context [/login] startup failed due to previous errorsrn2013-2-15 16:14:57 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContext
struts2和hibernate整合 Unable to load configuration. - [unknown location]
2012-3-17 22:32:40 com.opensymphony.xwork2.util.logging.commons.CommonsLogger errorrn严重: Dispatcher initialization failedrnUnable to load configuration. - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)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)
struts2出错Unable to load configuration. - action - file:/D:/workspace/……
struts.xml是这样的rn[code=XML]rnrnrnrn rn rn rn rn rn rn rn /login.jsprn rn /login.jsprn rn rn rn rn rn rn rnrnrn[/code]rn在没定义class的时候是可以执行的,定义之后直接输入http://localhost:8080/struts/login.jsp不能执行并出现如下错误:rnThe requested resource (/struts/login.jsp) is not available.rn这是什么原因啊
Exception starting filter struts2 Unable to load configuration. - [unknown locat
Exception starting filter struts2 Unable to load configuration. - [unknown location]rn启动tomcat或从新部署项目时老报这个错,并且时好时坏,太郁闷了。。。求各路大神看看rn2013-10-31 12:53:24 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\MyEclipse 6.5\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\binrn2013-10-31 12:53:24 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2013-10-31 12:53:24 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 509 msrn2013-10-31 12:53:24 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2013-10-31 12:53:24 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.18rn2013-10-31 12:53:26 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rnlog4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.rn2013-10-31 12:54:01 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnUnable to load configuration. - [unknown location]rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:428)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:4363)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:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)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(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)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. - [unknown location]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn ... 29 morernCaused by: Unable to load jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ROOT/WEB-INF/lib/struts2-dojo-plugin-2.3.4.jar!/struts-plugin.xml - [unknown location]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:909)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:154)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 31 morernCaused by: Connection timed out: connect - [unknown location]rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:904)rn ... 35 morernCaused by: java.net.ConnectException: Connection timed out: connectrn at java.net.PlainSocketImpl.socketConnect(Native Method)rn at java.net.PlainSocketImpl.doConnect(Unknown Source)rn at java.net.PlainSocketImpl.connectToAddress(Unknown Source)rn at java.net.PlainSocketImpl.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at sun.net.NetworkClient.doConnect(Unknown Source)rn at sun.net.www.http.HttpClient.openServer(Unknown Source)rn at sun.net.www.http.HttpClient.openServer(Unknown Source)rn at sun.net.www.http.HttpClient.(Unknown Source)rn at sun.net.www.http.HttpClient.New(Unknown Source)rn at sun.net.www.http.HttpClient.New(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)rn at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)rn at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)rn at javax.xml.parsers.SAXParser.parse(Unknown Source)rn at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:113)rn ... 36 morern2013-10-31 12:54:01 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2013-10-31 12:54:01 org.apache.catalina.core.StandardContext startrn严重: Context [] startup failed due to previous errorsrn2013-10-31 12:54:01 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2013-10-31 12:54:02 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2013-10-31 12:54:02 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2013-10-31 12:54:02 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/31 config=nullrn2013-10-31 12:54:02 org.apache.catalina.startup.Catalina startrn信息: Server startup in 38047 msrn
Unable to load configuration. - bean - jar:file:/F:/apache-tomcat-7.0.69/webapps
Unable to load configuration. - bean - jar:file:/F:/apache-tomcat-7.0.69/webapps/strus2/WEB-INF/lib/struts2-spring-plugin-2.3.24.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:967)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:435)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:479)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4908)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5602)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/F:/apache-tomcat-7.0.69/webapps/strus2/WEB-INF/lib/struts2-spring-plugin-2.3.24.jar!/struts-plugin.xml:29:132rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:247)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:240)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 22 morernCaused by: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextAwarern at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:621)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3125)rn at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1341)rn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1827)rn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(ClassLoader.java:621)rn at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)rn at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3125)rn at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1341)rn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1827)rn at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)rn at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:144)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:218)rn ... 25 morern本地jar包rn[img=https://img-bbs.csdn.net/upload/201707/07/1499418277_849129.png][/img]rn大佬们,你们在哪里呀,bug来了,小弟解决不掉啊
Unable to load class for JSP
type Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: javax.servlet.ServletException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSPrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)rn java.security.AccessController.doPrivileged(Native Method)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)rn sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rnrnrnroot cause rnrnjavax.servlet.ServletException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSPrn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)rn sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn java.security.AccessController.doPrivileged(Native Method)rn net.aykj.util.DomainUtil.index(DomainUtil.java:58)rn org.apache.jsp.index_jsp._jspService(index_jsp.java:57)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)rn java.security.AccessController.doPrivileged(Native Method)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rn javax.security.auth.Subject.doAsPrivileged(Subject.java:517)rn org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)rn org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)rn java.security.AccessController.doPrivileged(Native Method)rn org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)rn sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)rn java.security.AccessController.doPrivileged(Native Method)rnrnrn
javax.xml.ws.WebServiceException: Unable to load Provider
我用的是JDK1.5.0_22, jboss4.2.2GArn报出了如下的异常(java代码我等会会在回复中贴出来)rnException in thread "main" javax.xml.ws.WebServiceException: Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImplrn at javax.xml.ws.spi.Provider.provider(Provider.java:98)rn at javax.xml.ws.Service.(Service.java:83)rn at ws.ConverterService.(ConverterService.java:40)rn at ConverterWsTest.main(ConverterWsTest.java:5)rnCaused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImplrn at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96)rn at javax.xml.ws.spi.Provider.provider(Provider.java:90)rn ... 3 morernCaused by: java.lang.ExceptionInInitializerErrorrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:501)rn at java.lang.Class.newInstance0(Class.java:350)rn at java.lang.Class.newInstance(Class.java:303)rn at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91)rn ... 4 morernCaused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointReference. rn at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188)rn at com.sun.xml.ws.spi.ProviderImpl.(ProviderImpl.java:65)rn ... 11 morernCaused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptionsrnTwo classes have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them.rn this problem is related to the following location:rn at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Addressrn at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addrrn at com.sun.xml.ws.developer.MemberSubmissionEndpointReferencern this problem is related to the following location:rn at javax.xml.ws.wsaddressing.W3CEndpointReference$Addressrn at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.addressrn at javax.xml.ws.wsaddressing.W3CEndpointReferencernTwo classes have the same XML type name "elements". Use @XmlType.name and @XmlType.namespace to assign different names to them.rn this problem is related to the following location:rn at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elementsrn at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referencePropertiesrn at com.sun.xml.ws.developer.MemberSubmissionEndpointReferencern this problem is related to the following location:rn at javax.xml.ws.wsaddressing.W3CEndpointReference$Elementsrn at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParametersrn at javax.xml.ws.wsaddressing.W3CEndpointReferencernrn at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)rn at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)rn at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:286)rn at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)rn at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)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:592)rn at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)rn at javax.xml.bind.ContextFinder.find(ContextFinder.java:372)rn at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)rn at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)rn at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:186)rn ... 12 morern
Unable to load DLL 'sqlceme30.dll'
Unable to load DLL 'sqlceme30.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Unable to load CTLIB.DLL
Unable to load CTLIB.DLL 这是为什么呢?谁遇到过?rn如何解决?rn我找了我机子的所有文件里,都没有发现这个动态库,在我的机子运行正常,有在有些机子上就不成。rn客户端连库是sybase。
"unable to load gds32.dll"
"unable to load gds32.dll"rn何解?
classloading.spi.ClassLoadingException: Unable to load class
WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)rn十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreatorrnINFO: HHH10001005: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql://localhost/hibernate]rn十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreatorrnINFO: HHH10001001: Connection properties: user=root, password=****rn十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreatorrnINFO: HHH10001003: Autocommit mode: falsern十二月 05, 2016 3:33:26 下午 org.hibernate.engine.jdbc.connections.internal.PooledConnections rnINFO: HHH000115: Hibernate connection pool size: 20 (min=1)rn十二月 05, 2016 3:33:27 下午 org.hibernate.dialect.Dialect rnINFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialectrnException in thread "main" org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [com.bjsxt.hibernate.Teacher]rn at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:348)rn at org.hibernate.boot.model.source.internal.annotations.AnnotationMetadataSourceProcessorImpl.(AnnotationMetadataSourceProcessorImpl.java:104)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess$1.(MetadataBuildingProcess.java:147)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:141)rn at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)rn at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)rn at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)rn at TeacherTest.main(TeacherTest.java:16)rnCaused by: java.lang.ClassNotFoundException: Could not load requested class : com.bjsxt.hibernate.Teacherrn at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl$AggregatedClassLoader.findClass(ClassLoaderServiceImpl.java:336)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:424)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:357)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:348)rn at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:345)rn ... 9 morern这个错是什么问题?怎么解决?
unable to load oracle.dll...etc
一运行PHP文件就出现unable to load c:\php/oracle.dll...etcrnrn最后网页也不能正常显示,只显示个空白页面rnrnrnrnrn
unable to load libmysql.dll的错误
我是在Delphi7.05的基础上升级到7.1的,但在设计状态下可以打开SQLConnection,而在运行的时候,总是会报unable to load libmysql.dll的错误,可是我已经将该libmysql.dll拷贝在system32目录下,请问是什么原因???rn
Unable to load dynamic library
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\Program Files\\php\\ext\\php_pdo_mysql.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3\r\n in Unknown on line 0rnrn这个文件是有的啊
Unable to load local categories!
在前台配置数据源时,报错!rnTest connection was NOT successful....Unable to load local categoriesrn怎么解决,不吝赐教!
Kylix: Unable to load libgds.so ???
到/use/lib一看了一下,rnlibgds.so是属root,rn我以root登录把其改为kylix:kylix后,rn还是这这样,我又把libgds.so cp 到/home/kylix/kylix3/bin 目录下,还是不行!!rn请各位帮帮忙呀??感激不尽!!rnrn
unable to load xx.dll
运行时候程序的时候就出现这个错误!rn有哪位大哥知道怎么解决?
Unable to load bean错误!
[code=XML]2010-05-20 13:19:48,656 ERROR (org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/tjsm]:3604) - Exception starting filter struts2rnUnable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.impl.StrutsObjectFactory - bean - jar:file:/F:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/tjsm/WEB-INF/lib/struts2-core-2.0.11.2.jar!/struts-default.xml:31:124rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:201)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:77)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3600)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4189)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:551)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:275)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name struts has already been loaded by bean - file:/F:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/tjsm/WEB-INF/classes/struts-default.xml:32:57 - bean - jar:file:/F:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/tjsm/WEB-INF/lib/struts2-core-2.0.11.2.jar!/struts-default.xml:31:124rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)rn ... 33 more[/code]rn以上是错误代码,struts-default.xml文件如下:rn[code=XML]rnrnrnrn rn rnrn rn rnrn rn rn rn rn rn rn rn rn rnrn rnrn rn rnrn rn rn rn rnrn rn rn rn rnrn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn[/code]
Unable to load DLL (db2_36).
想请教一个技朮问题﹐我在研究.net&DB2技朮的时候﹐我自已重写啦一个.NET DataProvider for DB2﹐在调用的时候发生这样的错误﹐请帮帮小弟rnError:rnUnable to load DLL (db2_36).rn
水晶报表unable to load report
vb自带的水晶报表4.6,很奇怪的一个问题,我用ODBC连接数据库生成的报表可以打开。但我用数据库文件连接的ACCESS数据库却提示unable to load report.
Unable to load locale categories.
rnrnrnA机远程执行rnrnrsh B . /home/zhichi/.profile 2>&- \;. /home/ceshi/out.sh >> /home/ceshi/log/a.log 2>&1rnrn刚开始报的错是dbaccess: command not foundrnrn修改out.sh文件的路径后报错是-23101 Unable to load locale categories.rnrninformix的sysdbslocale表结果rndbs_dbsname dcomsrndbs_collate zh_CN.5488rnrn用户.bash_profile文件内为rnexport LANG=en_US.819rnexport DB_LOCALE=zh_CN.GB18030-2000rnexport CLIENT_LOCALE=zh_CN.GB18030-2000rnexport SERVER_LOCALE=zh_CN.GB18030-2000rnrnB机执行/home/ceshi/out.sh >> /home/ceshi/log/a.log 2>&1 ,结果一切正常rnrn请问是什么原因?rnrn
struts2 Unable to load configuration
tomcat启动总是报错,jar文件是我从struts2的app文件中拷贝的,但是启动仍然报错rn严重: Error starting static Resourcesrnjava.lang.IllegalArgumentException: Document base D:\yang.files\SkyDrive\JavaWebWorkspace\file_upload\WebRoot does not exist or is not a readable directoryrn at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)rn at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:5055)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5235)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)rn at java.lang.Thread.run(Thread.java:662)rn2013-9-16 19:18:41 org.apache.catalina.core.StandardContext startInternalrn严重: Error in resourceStart()rn2013-9-16 19:18:41 org.apache.catalina.core.StandardContext startInternalrn严重: Error getConfiguredrn2013-9-16 19:18:41 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/upload] startup failed due to previous errorsrn2013-9-16 19:18:42 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider inforn信息: Parsing configuration file [struts-default.xml]rn2013-9-16 19:18:42 org.apache.struts2.dispatcher.Dispatcher errorrn严重: Dispatcher initialization failedrnrn这个到底该怎么解决啊,谢谢指点!
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数