报错日志:
Cannot create inner bean '(inner bean)#803be8a'
of type **[org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager';** nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
解决方案:
在启动类中加上
@EnableJpaRepositories