*************************急急急急急急 spring配置问题,高手请进******************** 本帖最后由 clshanghe 于 2013-09-23 16:26:46 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Caused by: java.lang.IllegalArgumentException: Property 'sessionFactory' is required,sessionFactory需要被你的dao层引用,dao层可以继承HibernateDaoSupport,比如你的dao类叫TestDaoImpl,可以这样写:public class TestDaoImpl extends HibernateDaoSupport,dao的配置文件<bean id="testDao" class="com.pcim.dao.impl.TestDaoImpl" autowire="byName"/>或者<bean id="testDao" class="com.pcim.dao.impl.TestDaoImpl"><property name="sessionFactory" ref="sessionFactoty"></property></bean> myeclipse for linux 如何自定义404页面(jax-rs) struts表单任意多大小字符串数组如何实现? Struts2 的输入框中怎么显示出 tooltip 来 BeanUtils.copyProperties() Unix系统下的中文显示问题(高分回报) 关于工作流和shark的问题 大家好,小弟在学JAVA的途中感到很茫然,可否提点建议? jb7.0+weblogic7.0开发session bean出错! Java范畴的Web Service 包含哪些内容? SPRING MVC问题 Could not synchronize database state with session SQL Error: 1400, SQLState: 230
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货