我遇到与jhipster hot reload failed to register liquibase changelog directory类似的问题。
这在过去有效,但我从来没有能够让实体创建正常工作:“旧”实体(从上次重启之前)将通过丢失的表失败,而“新”实体因为没有服务(Did not find handler method for [/app/rest/foo3s]
)
我想我拥有所有最新版本(generator-jhipster 0.18.1和<jhipster-loaded.version>0.11</jhipster-loaded.version>
。我在Debian测试中的Docker容器中运行Oracle Java 7。
我可以构建并运行示例应用程序(来自/jhipster
),但是当我尝试时:
yo jhipster:entity foo5
我明白了:
The entity foo5 is being created.
appPath: src/main/webapp
appPath: src/main/webapp
appPath: src/main/webapp
create src/main/java/petemiller/domain/Foo5.java
create src/main/java/petemiller/repository/Foo5Repository.java
create src/main/java/petemiller/web/rest/Foo5Resource.java
create src/main/webapp/views/foo5s.html
create src/main/webapp/scripts/foo5/router_foo5.js
create src/main/webapp/scripts/foo5/controller_foo5.js
create src/main/webapp/scripts/foo5/service_foo5.js
create src/test/java/petemiller/web/rest/Foo5ResourceTest.java
jhipster@a3c758365d1b:/jhipster$
但是在changelog文件夹中没有生成db-changelog-00x.xml
文件,所以当然没有其他工作。
Hot Reload似乎没问题,就像在启动时我得到的那样:
[INFO] io.github.jhipster.loaded.JHipsterReloaderAutoConfiguration - Spring Loaded is running, registering hot reloading features
[DEBUG] io.github.jhipster.loaded.reloader.JacksonReloader - Hot reloading Jackson enabled
[DEBUG] io.github.jhipster.loaded.reloader.LiquibaseReloader - Hot reloading JPA & Liquibase enabled
[DEBUG] io.github.jhipster.loaded.reloader.SpringReloader - Hot reloading Spring Beans enabled
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/i18n' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/templates' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/config' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/config/liquibase' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/config/liquibase/changelog' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/mails' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/mails/messages' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/repository' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/domain' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/domain/util' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/web' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/web/filter' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/web/filter/gzip' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/web/rest' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/web/rest/dto' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/web/propertyeditors' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/config' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/config/locale' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/config/apidoc' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/config/metrics' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/config/audit' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/security' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/aop' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/aop/logging' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/service' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/service/util' will be monitored for changes
[DEBUG] io.github.jhipster.loaded.JHipsterFileSystemWatcher - Directory : 'target/classes/petemiller/async' will be monitored for changes
[INFO] petemiller.Application - Started Application in 19.546 seconds (JVM running for 20.322)
我已经完成了Maven清理以及我能想到的所有其他事情,例如检查权限等
有关后续步骤的建议,有人吗?