Liquibase diff fail

Hi all,

When I run liquibase diff, I get this error

[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.8.5:diff (default-cli) 
on project master-hipster-2: Error setting up or running Liquibase: 
javax.persistence.PersistenceException: Unable to resolve persistence unit root URL: class path 
resource [] cannot be resolved to URL because it does not exist -> [Help 1]

I use :

  • Liquibase 3.8.5
  • Liquibase hibernate 3.8
  • Hibernate 5.4.10.Final
  • Hibernate search 6
  • Spring boot 2.2.4

Before the library update, I used

  • Liquibase 3.6.3
  • Liquibase hibernate 3.6
  • Hibernate 5.3.9
  • Hibernate search 5.3.9
  • Spring boot 2.1.5

I don’t change my configuration after the update of spring, hibernate, or liquibase dependencies, I used liquibase maven plugins

Configuration inside pom.xml

Did you have any ideas of the origins of this error?

Hello @Alexis - I’m reviewing some older posts and I came across yours. I edited it to show the code properly, but I didn’t see anything in the space under “Configuration inside pom.xml” - Was there meant to be a code snippet there? You probably have already resolved this, but I wanted to ask just in case.