ss整合问题
初次弄这个就弄了半天。。。。。以下是问题的一些解决方法,都来自于网上。。。
问题1、Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
1.web.xml问题
<context-param>
<param-name>contextConfigLocation </param-name>
<param-value>/WEB-INF/classes/applicationContext.xml </param-
value>
</context-param>
加载spring的默认配置文件位置一般是在/WEB-INF/下找applicationContext.xml文
件。而Myeclipse文件自动生成的applicationContext文件是放在/WEB-
INF/classes/applicationContext.xml。所以在默认加载中是找不到
applicationContext.xml文件的,必须加入上面配置。
问题2、Unable to load configuration. - action - |Caused by: Action class[login] not found - action -Error configuring application listener of class
问题3、org.springframework.web.context.ContextLoaderListener
2.struts,spring的jar包缺少
直接用myeclipse8.0中的struts和spring的jar但两者整合时,jar还是缺少了。
额外加入了struts的jar
struts2-spring-plugin-2.1.8.jar
spring需增加的jar包
spring.jar
spring-web.jar
分享到:
相关推荐
Spring Mybatis Maven整合demo
07 SSSP 尚硅谷SSSP整合&分页视频,教程视频:spring+SpringData+jpa速合
Spring4.0.6+Struts2.3.16.3整合架包下载,ss整合jar架包下载,最新spring和struts整合架包下载
采用spring、spring data jpa、spring mvc、hibernate等技术整合,环境需注意开发工具需要安装lombok、数据库使用的是mysql8.12版本
Spring,SpringMvc,Spring DATa,Jpa整合开发。。。。。。。。。。。
spring,SpringMVC,Spring Data/JPA框架整合
· 1. SSSP整合_简介&功能演示 · 2. SSSP整合_搭建开发环境 · 3. SSSP整合_实体类 · 4. SSSP整合_分页 · 5.... SSSP整合_修改id问题的分析及解决 · 12. SSSP整合_删除 · 13. SSSP整合_源代码及PPT
SpringMvc,Spring,SpringData, JPA(hibernate)整合之后做的一个分页的小案例
使用纯xml方式整合三大框架,适合初学者学习
提供一个使用Myelipse搭建ssh框架的实例,主要的步骤:1.搭建数据库连接;2.引入hibernate;3.搭建spring;4.引入struts2。
最新整合的spring+spring mvc+mybatis+spring security框架,附带了sql文件
ibatis 整合 SS struts2 spring 实例,包含MySQL脚本文件,lib包在我的另外两个资源: http://download.csdn.net/source/2491382 http://download.csdn.net/source/2491386
struts2.3.4+ hibernate4.2.6 + spring3.2.4
冰箱品牌新品上市整合营销策略方案ss.pptx
汽车品牌新车上市整合营销传播方案ss.pptx
国际知名家居品牌整合营销全案ss.pptx
ibatis 整合 SS struts2 spring 实例cruiseWebsite(完整项目).
ibatis 整合 SS struts2 spring 实例 lib包 part1,src在我的另外一个资源: http://download.csdn.net/source/2491366
整合框架整合框架整合框架整合框架整合框架
1.创建一个Maven版的Web工程,通过依赖导入以下jar包 3.SpringMVC的配置文件springmvc.xml中的配置 4.Spring的配置文件b