Dispatcher initialization failed ---struts2错误(转摘)
来源:互联网 发布:新网互联域名注册 编辑:程序博客网 时间:2024/05/16 15:54
今天第一次搭建struts2框架,遇到的第一个问题:
INFO - Parsing configuration file [struts-default.xml]
ERROR - Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/D:/Tomcat%206.0/webapps/ithink/WEB-INF/lib/struts2-core-2.1.8.1.jar!/struts-default.xml:47:178
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:190)
web.xml
<!-- config struts2 -->
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
解决方法:
在网上查到,应该把commons-fileupload-1.2.1.jar也加进来,就对了
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/lsunwing/archive/2009/11/30/4906424.aspx
- Dispatcher initialization failed ---struts2错误(转摘)
- Struts2错误 Dispatcher initialization failed
- struts2错误之dispatcher initialization failed
- Struts2中出现 Dispatcher initialization failed错误
- struts2 -- Dispatcher initialization failed
- struts2 -- Dispatcher initialization failed
- 严重:Dispatcher initialization failed java.lang.RuntimeException Struts2错误
- Struts2中出现严重: Dispatcher initialization failed错误
- Struts2中出现严重: Dispatcher initialization failed错误
- Struts2中出现严重: Dispatcher initialization failed错误
- Struts错误 Dispatcher initialization failed
- Struts2注解报错"Dispatcher initialization failed"
- Struts2启动时报Dispatcher initialization failed
- struts2中的Dispatcher initialization failed问题
- 【SSH】Dispatcher initialization failed && Exception startingfilter struts2
- struts2学习中遇到的坑之 严重: Dispatcher initialization failed错误
- 严重:Dispatcher initialization failed
- Dispatcher initialization failed
- 1024-Cylinder Limit
- 【转】JS中document对象详解
- Java压缩解压缩zip文件
- ssss
- What did Google change in the kernel?
- Dispatcher initialization failed ---struts2错误(转摘)
- pv3d中创建flint粒子的最基本知识
- win32 sdk实现XP风格两种方法
- 2010-3-10
- struts2 配置tomcat的是时候出错了高手帮帮忙啊
- 无法安装打印机驱动 打印机安装向导无法启动 不响应
- XP下部署asp.net MVC应用程序
- #pragma pack(push,1) (pop)
- HTTP403 禁止访问