java框架整合错误:org.hibernate.AnnotationException: No identifier specified for entity
java框架整合错误:org.hibernate.AnnotationException: No identifier specified for entity 错误原因是因为在对VipOperatorDto进行对象关系映射的时候忘记加上主键@Id了。
这个错是hibernate的annotation报的错,所以肯定是对象上加的注解有问题。