Reputation: 1479
I did the following:
C:\dev\jdk1.8.0\bin\java -javaagent:spring_loaded/springloaded-jhipster.jar -noverify -Dspringloaded=plugins=io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin -Didea.launcher.port=7538 "-Didea.launcher.bin.path=C:\dev\IntelliJ IDEA\bin" -Dfile.encoding=UTF-8 -classpath "*snip very long classpath" com.intellij.rt.execution.application.AppMain com.mysoftware.Application
yo jhipster:entity project
as per herehttp://localhost:8080/#/project
gets org.h2.jdbc.JdbcSQLException: Table "T_PROJECT" not found
/src/main/resources/config/liquibase/changelog
has only db-changelog-001.xml
So it seems like the step
If you have used hot reload in the previous step, JHipster has automatically created a new file named src/main/resources/config/liquibase/changelog/db-changelog--002.xml.
from here hasn't really taken place.
What am I doing wrong?
What's the easiest way to manually invoke the generation of the db-changelog-002.xml; as I'm not keen in writing it manually, the entity class already has all the information.
Upvotes: 0
Views: 2273
Reputation: 1479
This appears to be jhipster bug:
https://github.com/jhipster/generator-jhipster/issues/310
Upvotes: 1