Unable to resolve persistence unit root URL: class path resource [] cannot be resolved to URL because it does not exist -> [求助1]

Unable to resolve persistence unit root URL: class path resource [] cannot be resolved to URL because it does not exist -> [Help 1]

只需更新 Jhispter "jhipsterVersion": "6.3.0", 还有这个:

./mvnw liquibase:diff 

给出错误: 设置错误或 运行 Liquibase:javax.persistence.PersistenceException:无法解析持久性单元根 URL:class 路径资源 [] 无法解析为 URL,因为它确实不存在 -> [帮助 1]。

pom.xml

<changeLogFile>
 ${project.basedir}/src/main/resources/config/liquibase/master.xml
</changeLogFile>
<diffChangeLogFile>        
${project.basedir}/src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml
</diffChangeLogFile> 


 <referenceUrl>hibernate:spring:com.gotop.nms.domain?dialect=org.hibernate.dialect.MySQL5InnoDBDialect&amp;hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&amp;hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy</referenceUrl>

知道我可以更改什么吗?

这是 Hibernate Liquibase Maven 插件的一个错误,如果你改变库的版本:

<liquibase-hibernate5.version>3.7</liquibase-hibernate5.version>

至:

<liquibase-hibernate5.version>3.6</liquibase-hibernate5.version>

并再次执行

./mvnw liquibase:diff

它应该有效

查看 this comment 问题。