org.hibernate.MappingException: could not instantiate id generator
Hibernate的版本不对,
也解决无法创建org.hibernate.id.UUIDGenerator的问题
@GenericGenerator(name = "generator", strategy = "org.hibernate.id.UUIDGenerator")
@Id
@GeneratedValue(generator = "generator")
-----------------
附件是没这个问题的版本