运行" mvn clean test"在创建一个新的微服务并添加一个简单的实体之后。
使用名称' liquibase'创建bean时出错在类路径资源[net / foo / bar / config / DatabaseConfiguration.class]中定义:init方法的调用失败;嵌套异常是java.lang.IllegalStateException:如果当前未启动资源,则可能无法访问这些资源
{
"generator-jhipster": {
"jhipsterVersion": "3.5.1",
"baseName": "foobar",
"packageName": "net.foo.bar",
"packageFolder": "net/foo/bar",
"serverPort": "8082",
"authenticationType": "uaa",
"uaaBaseName": "uaa",
"hibernateCache": "hazelcast",
"databaseType": "sql",
"devDatabaseType": "h2Disk",
"prodDatabaseType": "mysql",
"searchEngine": "elasticsearch",
"buildTool": "maven",
"jwtSecretKey": "*",
"enableTranslation": false,
"applicationType": "microservice",
"testFrameworks": [
"gatling",
"cucumber"
],
"jhiPrefix": "jhi",
"skipClient": true,
"skipUserManagement": true
}
}