SSH整合过程中出现找不到org.springframework.web.context.ContextLoaderServlet的错误
来源:互联网 发布:mac口红吧 编辑:程序博客网 时间:2024/06/06 01:10
解决办法:
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
因在Spring3.0中去掉了ContextLoaderServlet和Log4jConfigServlet,所以会出现找不到类的异常错误。
Spring3.0下可以采用另外两种启动方式:ContextLoaderListener和ContextLoaderPlugIn。建议使用ContextLoaderListener,具体实现就是在web.xml中添加:
<context-param><param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
0 0
- SSH整合过程中出现找不到org.springframework.web.context.ContextLoaderServlet的错误
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet
- 在搭建ssh框架时,出现找不到该org.springframework.web.context.ContextLoaderListener类
- 新手如何解决ecplise安装过程中出现的各种问题 java.lang.ClassNotFoundException: org.springframework.web.context.ContextL
- 找不到 org.springframework.web.context.ContextLoaderListener
- 解决maven管理下,java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet服务器启动报异常
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServlet服务器启动报异常
- [ssh]ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 运行ssh框架,报错找不到org.springframework.web.context.contextLoader
- ssh整合中出现的Caused by: org.springframework.beans.NotWritablePropertyException:
- org.springframework.web.context.ContextLoaderListener错误
- SSH+ maven整合:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- SSH整合之org.springframework.web.context.ContextLoaderListener not found问题
- 加载一个web工程,启动tomcat出现org.springframework.web.context.ContextLoaderListener错误.
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener为什么找不到?
- tomcat报错org.springframework.web.context.ContextLoaderListener找不到,解决办法
- 创建or1200最小SOPC,并进行仿真
- Android调试.so库常用工具
- Android自动化测试中AccessibilityService获取控件信息(1)
- MYSQL启用日志,查看日志
- struts2在项目中的应用之普通上传
- SSH整合过程中出现找不到org.springframework.web.context.ContextLoaderServlet的错误
- 第四章 命令编程(一)
- vtk基本数据结构与模型构建实例讲解
- ARC基础
- 使用PhysicsEditor为物理引擎创建刚体形状
- 小算法程序收集
- ListView直接子条目的高度有效
- OrmLite数据库开源组件学习(1)
- Linux---rrdtool编译时的报错