You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to JHipster 8.2.1 from 8.1.0, I tried to run mvn liquibase:diff command to update changelogin master.xml. However I am getting an error in maven run
Stacktrace:
mvn liquibase:diff
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< com.company:datastore >------------
[INFO] Building Datastore 0.0.3-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- liquibase:4.24.0:diff (default-cli) @ datastore ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.681 s
[INFO] Finished at: 2024-03-22T21:35:06+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] version can neither be null, empty nor blank
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
Motivation for or Use Case
This is a bug since upgrade of JHipster to version 8.2.1 will not work. mvn liquibase:diff is an integral command while updating any entities.
Reproduce the error
Upgrade to JHipster version 8.2.1
Run mvn liquibase:diff
Related issues
NA
Suggest a Fix
This can be fixed by adding the version of spring-boot-starter-data-jpa in the liquibase plugin dependencies in pom.xml. Also, need to add jakarta.validation-api dependency.
Overview of the issue
After upgrading to JHipster 8.2.1 from 8.1.0, I tried to run mvn liquibase:diff command to update changelogin master.xml. However I am getting an error in maven run
Stacktrace:
Motivation for or Use Case
This is a bug since upgrade of JHipster to version 8.2.1 will not work. mvn liquibase:diff is an integral command while updating any entities.
Reproduce the error
Upgrade to JHipster version 8.2.1
Run mvn liquibase:diff
Related issues
NA
Suggest a Fix
This can be fixed by adding the version of spring-boot-starter-data-jpa in the liquibase plugin dependencies in pom.xml. Also, need to add jakarta.validation-api dependency.
JHipster Version(s)
8.2.1
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
OS: Mac OS 14.4
The text was updated successfully, but these errors were encountered: