spring2.5 怎么没有spring2.0中的org.springframework.web.struts.DelegatingActionProxy ?
2010-01-07 11:43
393 查看
在学习尚学堂的spring整合Struts1时遇到没有org.springframework.web.struts包的问题。查了很久才知道答案。真郁闷,自己怎么就没想到它会重新打包呢?
另外也疑惑:为什么尚学堂不用2.5的来讲?难道那时还没出?另一方面,2.5与2.0的区别又在哪里?
下面是题目问题的答案:
2.5对包重新分类了
原来在spring2.0版本中的org.springframework.web.struts包放在了spring-framework-2.5.6/dist/modules/spring-webmvc-struts.jar这里
官方spring-reference跟readme里都有说明
* "spring-webmvc-struts" (~35 KB)
- Contents: Struts 1.x action support, Tiles 1.x view support
- Dependencies: spring-web, Struts API, (spring-webmvc)
另外也疑惑:为什么尚学堂不用2.5的来讲?难道那时还没出?另一方面,2.5与2.0的区别又在哪里?
下面是题目问题的答案:
2.5对包重新分类了
原来在spring2.0版本中的org.springframework.web.struts包放在了spring-framework-2.5.6/dist/modules/spring-webmvc-struts.jar这里
官方spring-reference跟readme里都有说明
* "spring-webmvc-struts" (~35 KB)
- Contents: Struts 1.x action support, Tiles 1.x view support
- Dependencies: spring-web, Struts API, (spring-webmvc)
相关文章推荐
- spring2.5中没有org.springframework.web.struts.DelegatingActionProxy
- java开源框架集成常见错误之spring2.5中没有org.springframework.web.struts.DelegatingActionProxy ,使得Action不能注入到spring中
- org.springframework.web.struts.DelegatingActionProxy
- org.springframework.web.filter.DelegatingFilterProxy的理解
- 【备忘】Filter由容器管理,想交给spring管理,需用代理 org.springframework.web.filter.DelegatingFilterProxy
- Spring管理过滤器:org.springframework.web.filter.DelegatingFilterProxy
- org.springframework.web.struts.DelegatingRequestProcessor
- 严重: action: null java.lang.ClassNotFoundException: org.springframework.web.struts.ContextLoaderPlugIn
- Cannot initialize RequestProcessor of class org.springframework.web.struts.DelegatingRequestProcesso
- Spring 的 org.springframework.web.filter.DelegatingFilterProxy
- springframework.web.struts.DelegatingRequestProces
- 异常:java.lang.ClassNotFoundException: org.springframework.web.jsf.DelegatingVariableResolver
- SPRING IN ACTION 第4版笔记-第九章Securing web applications-001-SpringSecurity简介(DelegatingFilterProxy、AbstractSecurityWebApplicationInitializer、WebSecurityConfigurerAdapter、@EnableWebSecurity、@EnableWebMvcS)
- org.springframework.web.struts找不到
- struts2 的web.xml 配置文件报错org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
- org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named "" must be of type [org.apache.struts.action.Action
- org.springframework.web.struts.ContextLoaderPlugIn 和 org.springframework.web.con
- Tomcat启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- maven项目 启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- maven项目报java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener