ssh项目错误,请帮我看看!

发布于 2021-11-17 14:18:07 字数 8405 浏览 865 评论 7

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

彩扇题诗 2021-11-18 18:12:03

写成redirectAction,直接提示错误

坚持沉默 2021-11-18 17:57:23

<result name="toBrowseIndustry" type="redirect-action">

是不是要写成redirectAction?

妖妓 2021-11-18 17:56:56

沙与沫 2021-11-18 15:47:15

配置文件中的package的属性extends没有设置为struts-default

毁梦 2021-11-18 07:19:41

actionFrom 验证出错时自动返回“input” 的 所以你要有个默认 input返回 指向路径

掩饰不了的爱 2021-11-18 06:53:21

struts.xml 这个配置文件 industry_*这个入口没有返回值,一般出错是没有 input 返回

兮颜 2021-11-17 23:29:35

struts.xml里面有配置错误。重点看看/dianhua51和industry_*处

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文