关闭

Caused by: Action class [ org.whatisjava.actions.authorize.ValidateEmailAction] not found - action -

标签: exceptionstruts2class
393人阅读 评论(0) 收藏 举报
分类:

2013-12-5 9:43:58org.apache.catalina.core.StandardContext filterStart

严重: Exception startingfilter struts2

Unable to loadconfiguration. - action -file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/dangdang_me_0200/WEB-INF/classes/struts.xml:46:94

   atorg.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:431)

   at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)

   atorg.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)

   atorg.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)

   atorg.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)

   atorg.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)

   atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4363)

   atorg.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1116)

   atorg.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)

   atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)

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

   atorg.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)

   atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)

   atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)

   atorg.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)

   at java.lang.Thread.run(Thread.java:619)

Caused by: Unable toload configuration. - action -file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/dangdang_me_0200/WEB-INF/classes/struts.xml:46:94

   atcom.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)

   atorg.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)

   atorg.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)

   ... 15 more

Caused by: Actionclass [ org.whatisjava.actions.authorize.ValidateEmailAction] not found -action -file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/dangdang_me_0200/WEB-INF/classes/struts.xml:46:94

   at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:409)

   atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:354)

   atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:468)

   atcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:264)

   atorg.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:111)

   atcom.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)

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

   ... 17 more

2013-12-5 9:43:58org.apache.catalina.core.StandardContext start

严重: Error filterStart

2013-12-5 9:43:58org.apache.catalina.core.StandardContext start

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



如果不是java的jar包冲突引发的问题,尝试查看struts.xml配置文件中是否是多键入空格,引起的错误!

我的就是因为class=“  org.whatisjava.actions.authorize.ValidateEmailAction"中,org.whatisjava.action.....前面有空格,才报的错!

希望对你们有帮助!!

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:2144次
    • 积分:49
    • 等级:
    • 排名:千里之外
    • 原创:3篇
    • 转载:0篇
    • 译文:0篇
    • 评论:0条
    文章分类
    文章存档