生成 jhipster 应用程序后(按照教程),应用程序运行良好,但我无法使用我的“用户”或“管理员”帐户登录。我在日志中看到以下内容:
[DEBUG] com.chomnoue.jstarter2.security.UserDetailsService - Authenticating jhip
sterapp
这意味着应用程序正在尝试验证“jhipsterapp”而不是“用户”。
以下是我的 .yo-rc.json 文件的内容
{
"generator-jhipster": {
"baseName": "jstarter",
"packageName": "com.chomnoue.jstarter",
"packageFolder": "com/chomnoue/jstarter",
"authenticationType": "token",
"hibernateCache": "hazelcast",
"clusteredHttpSession": "hazelcast",
"websocket": "atmosphere",
"databaseType": "sql",
"devDatabaseType": "h2Memory",
"prodDatabaseType": "mysql",
"useCompass": true,
"frontendBuilder": "grunt",
"javaVersion": "8"
}
}
请问有什么帮助吗?