Error creating bean with name ‘entityManagerFactory‘ defined in class path resource

运行项目时出现错误:Error creating bean with name ‘entityManagerFactory’ defined in class path resource,解决指南
仔细查看报错信息
Error creating bean with name ‘entityManagerFactory‘ defined in class path resource
我的目录格式不正确
Error creating bean with name ‘entityManagerFactory‘ defined in class path resource
我的目录格式为:
Error creating bean with name ‘entityManagerFactory‘ defined in class path resource
修改application.yml配置文件中的jpa.properties.hibernate.dialect:com.xettoo.demo.dialect.PostgreSqlDialect为图中的正确显示路径
Error creating bean with name ‘entityManagerFactory‘ defined in class path resource
再次运行项目,成功