问答详情
源自:3-2 起步程序开发

!!!求助

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [beans_new.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidati 报错 求助

提问者:慕粉4256736 2017-07-26 21:11

个回答

  • kkskylin
    2017-07-26 22:40:57

    应该是你配置entityManagerFactory类的属性的时候把单词写错了吧?entityManagerFactory类都没有创建成功,仔细检查[beans_new.xml这里面的配置