springframework.web.struts.DelegatingRequestProces
2010-09-22 16:15
399 查看
今天在整合JPA+Spring+struts1.3时候遇到几个问题,首先就是
Cannot initialize RequestProcessor of class org.springframework.web.struts.DelegatingRequestProcessor
原因没有添加的相应的jar文件,spring2.5核心包中没有spring2.0中的org.springframework.web.struts.DelegatingRequestProcessor类,从而造成不能在spring中注入Action 原因是spring2.0版本中的org.springframework.web.struts包放在了spring-framework- 2.5.6\dist\modules\spring-webmvc-struts.jar里面了所以只要把spring-framework-2.5.6\dist\modules\spring-webmvc-struts.jar包引入你的项目就可以注入action了
另外还遇到个错误,java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,同样是因为缺少Jar文件,导入spring-web.jar即可
Cannot initialize RequestProcessor of class org.springframework.web.struts.DelegatingRequestProcessor
原因没有添加的相应的jar文件,spring2.5核心包中没有spring2.0中的org.springframework.web.struts.DelegatingRequestProcessor类,从而造成不能在spring中注入Action 原因是spring2.0版本中的org.springframework.web.struts包放在了spring-framework- 2.5.6\dist\modules\spring-webmvc-struts.jar里面了所以只要把spring-framework-2.5.6\dist\modules\spring-webmvc-struts.jar包引入你的项目就可以注入action了
另外还遇到个错误,java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,同样是因为缺少Jar文件,导入spring-web.jar即可
相关文章推荐
- Cannot initialize RequestProcessor of class org.springframework.web.struts.DelegatingRequestProcesso
- org.springframework.web.struts.DelegatingRequestProcessor
- java开源框架集成常见错误之spring2.5中没有org.springframework.web.struts.DelegatingActionProxy ,使得Action不能注入到spring中
- org.springframework.web.struts.DelegatingActionProxy
- spring2.5 怎么没有spring2.0中的org.springframework.web.struts.DelegatingActionProxy ?
- spring2.5中没有org.springframework.web.struts.DelegatingActionProxy
- Spring 的 org.springframework.web.filter.DelegatingFilterProxy
- org.springframework.web.multipart.MultipartException: The current request is not a multipart request
- org.springframework.web.multipart.MultipartException: The current request is not a multipart request
- org.springframework.web.util.NestedServletException: Request processing failed; nested exception is
- [org.springframework.web.servlet.PageNotFound] - No mapping found for HTTP request with URI
- org.springframework.web.servlet.PageNotFound noHandlerFound 警告: No mapping found for HTTP request w
- org.springframework.web.util.NestedServletException: Request processing failed; nested exception is
- SpringMVC异常:org.springframework.web.multipart.MultipartException: The current request is not a multi
- org.springframework.web.servlet.PageNotFound]-[WARN] No mapping found for HTTP request with URI [/re
- org.springframework.web.context.request.RequestContextListener
- .ShiroHttpServletRequest cannot be cast to org.springframework.web.multipart.MultipartHttpServletReq
- Spring Bean的5种作用域--主要是org.springframework.web.context.request.RequestContextListener
- org.springframework.web.struts.ContextLoaderPlugIn 和 org.springframework.web.con
- Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingH