ssh项目错误,请帮我看看!
2013-1-5 16:26:51 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load configuration. - action - file:/D:/apache-tomcat-6.0.35/webapps/dianhua51/WEB-INF/classes/struts.xml:63:65
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:428)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: Unable to load configuration. - action - file:/D:/apache-tomcat-6.0.35/webapps/dianhua51/WEB-INF/classes/struts.xml:63:65
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)
... 29 more
Caused by: Error building results for action industry_* in namespace /admin - action - file:/D:/apache-tomcat-6.0.35/webapps/dianhua51/WEB-INF/classes/struts.xml:63:65
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:378)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:479)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:275)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:204)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
... 31 more
Caused by: There is no result type defined for type 'redirect-action' mapped with name 'toBrowseIndustry'. Did you mean 'redirectAction'? - result - file:/D:/apache-tomcat-6.0.35/webapps/dianhua51/WEB-INF/classes/struts.xml:67:59
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:632)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:376)
... 36 more
2013-1-5 16:26:51 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2013-1-5 16:26:51 org.apache.catalina.core.StandardContext start
严重: Context [/dianhua51] startup failed due to previous errors
log4j:WARN No appenders could be found for logger (org.springframework.web.context.support.XmlWebApplicationContext).
log4j:WARN Please initialize the log4j system properly.
2013-1-5 16:26:51 org.apache.catalina.core.ApplicationContext log
信息: Shutting down log4j
2013-1-5 16:26:51 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/dianhua51] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/dianhua51] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/dianhua51] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/dianhua51] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/dianhua51] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/dianhua51] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/dianhua51] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1125a40]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e335d7]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2013-1-5 16:26:51 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/dianhua51] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1e3d80c]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@17d1256]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
写成redirectAction,直接提示错误
<result name="toBrowseIndustry" type="redirect-action">
是不是要写成redirectAction?
配置文件中的package的属性extends没有设置为struts-default
actionFrom 验证出错时自动返回“input” 的 所以你要有个默认 input返回 指向路径
struts.xml 这个配置文件 industry_*这个入口没有返回值,一般出错是没有 input 返回
struts.xml里面有配置错误。重点看看/dianhua51和industry_*处