由于Hibernate 5.2降低了Criteria API,我将所有的Criteria API代码更改为JPA,但当我尝试运行该程序时,它给出了以下错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [com/vincent/SSHAKB/configuration/DBConfig.class]: Invocation of init me