日积月累
haoyk
这个作者很懒,什么都没留下…
展开
-
Unable to instantiate default tuplizer 错误
最近一直在看java的三大开源框架(Struts、Spring、Hibernate)其中遇到点问题,在下费了好大劲才找到原因,所以把我的错误贴出来供大家分享,以至有同样错误的网友有个参考。 好,下面则是开篇: 我在做Spring和Hibernate整合的时候报了以下的错误: Initialization of bean failed; nested exception is org....2009-09-26 02:04:09 · 211 阅读 · 0 评论 -
Struts2 Spring 整合, Spring 使用 configLocation属性 联接hibernate.cfg.xml 找到不Action
在做Struts2 Spring Hibernate整合的时候遇到个问题: 用Spring去管理所有的action时运行编译时总是报找不到某个action。当然这个问题的可能有好多种比如:没有引入struts2-spring-plugin-x.x.jar包、没有在web.xml中添加listener、以有可能在web.xml中没有指定对Spring配置文件的路径等。而我出的问题不在这几种可能...2009-09-26 02:05:02 · 158 阅读 · 0 评论