nested exception is org.hibernate.PropertyNotFoundException: Could not find a getter for eNum in class

错误:nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception is org.hibernate.PropertyNotFoundException: Could not find a getter for eNum in class com.hqhop.hqhopsvc.tech.bean.inner.Employe

解决:看看所包含的这个对象有没有getter 这个方法。

你可能感兴趣的:(Hibernate)