我做了以下事情:
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
创建新实体
http://localhost:8080/#/project
获取org.h2.jdbc.JdbcSQLException: Table "T_PROJECT" not found
/src/main/resources/config/liquibase/changelog
只有db-changelog-001.xml
所以这似乎是步骤
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.
来自here的还没有真正发生。
我做错了什么?
什么是手动调用db-changelog-002.xml生成的最简单方法;由于我并不热衷于手动编写,因此实体类已经掌握了所有信息。