这是什么意思啊 有谁知道的吗各位大神?

写到这里不知道是哪里的问题

Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Association references unmapped class: com.hr.entity.CstCustomer

custsDj在pojo里面没定义。看一下BaseDict定义

大多是因为在HQL和SQL语句的使用上造成混淆;因为Hibernate使用的是hql语法,而sql语法和它是有区别的