配置ssh框架时出错
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingNotFoundException: resource: njci/software/res/bean/TypeInfo.hbm.xml not found
在bean的property里面用ref,表示引用一个已存在且声明(注入)的bean对象,你ref了sessionFactory这么一个bean,却没有声明这个bean,这就是你的问题所在了
热门标签: