Error creating bean with name ‘sessionFactory’ defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.boot.MappingException: Association [com.domain.Customer.linkMans] references an unmapped entity [com.domain.Customer.linkMans] : origin(null)

出错处:


*.hbm.xml使用由类自动生成,我由上图改写为下图,把配置进去,但是数据库中没有customer字段,导致报错。
311

被折叠的 条评论
为什么被折叠?



