javax.persistence.PersistenceException : [PersistenceUnit: vodPersistenceUnit] class or package not found

后端 未结 4 1463
情话喂你
情话喂你 2020-12-19 17:50

I got the following error :

Error creating bean with name \'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0\' de

4条回答
  •  借酒劲吻你
    2020-12-19 18:04

    If you had to comment out the "class" elements, it is likely that one of those classes is either not defined, or is not available in the classpath.

    I faced the same exact error, and it was resolved once the fully qualified names were all correct. Ideally, Hibernate should tell you what class is not found, but sadly it does not do it in this case.

提交回复
热议问题