当前位置: 代码迷 >> Java Web开发 >> Tomcat 出现以上异常 请高手帮忙看一上
  详细解决方案

Tomcat 出现以上异常 请高手帮忙看一上

热度:10372   发布时间:2013-02-25 21:10:07.0
Tomcat 出现以下错误 请高手帮忙看一下
我做的是struts2里的基于xml方式进行action校验 在发布时出现了下列问题:
Unable to load configuration. - action - file:/E:/tomcat-7.0.11/webapps/struts1/WEB-INF/classes/struts.xml:6:77
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)
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.initFilter(ApplicationFilterConfig.java:273)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:98)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4542)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5220)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5215)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

------解决方案--------------------------------------------------------
struts2.xml的class或者name有问题。。从新写下、
  相关解决方案
本站暂不开放注册!
内测阶段只得通过邀请码进行注册!
 
  • 最近登录:Sat Oct 21 14:53:50 CST 2017
  • 最近登录:Sat Oct 21 14:53:50 CST 2017
  • 最近登录:Sat Oct 21 14:53:50 CST 2017
  • 最近登录:Sat Oct 21 14:53:50 CST 2017
  • 最近登录:Sat Oct 21 14:53:50 CST 2017