生成jhipster应用程序(在教程之后),应用程序运行良好,但我无法使用“用户”或“管理员”帐户登录。我在日志中看到以下内容:
[DEBUG] com.chomnoue.jstarter2.security.UserDetailsService - Authenticating jhip
sterapp
意味着应用程序正在尝试验证“jhipsterapp”而不是“user”。
以下是我的.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"
}
}
有什么帮助吗?