-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
部署问题 #2
Comments
导入hosptial.sql时,数据库无数据,因此找不到用户名,后端应该是正常的。是不是初始化数据表有问题,log也没打印出生成表的信息 |
Could not validate configuration attributes as the SecurityMetadataSource did not return any attributes from getAllConfigAttributes() |
这个问题把application-dev.yml重命名为application.yml即可。 |
数据库脚本暂时只有数据表结构,数据记录晚点更新一下。 |
但是数据库还是没数据 admin登录不了的;小程序api能访问到,其余部分还没来得及测 |
这个是正常情况,因为权限那块是根据url动态鉴权,但是读取数据库的权限信息时,出现异常,我也还没解决。但是不影响使用,系统会过滤点没有jwt的请求,放开请求的url在application.yml中配置即可。 |
那admin登录不了这是什么原因呢 提示 用户不存在 |
{"result":{"code":404,"message":"不存在,该账号名称!"},"basePath":"http://localhost:8080","method":"GET","ip":"0:0:0:0:0:0:0:1","parameter":[{"name":"admin"}, |
关键前端也没发现写死的登录数据,应该是在数据库呢,但是数据库整个就是空的 |
方便加个q嘛 791751568 |
查看最新的commit,更新了数据库脚本,你也可以直接复制执行,最下方的插入数据操作部分代码。 |
好的 |
如对你有所帮助,麻烦请 star、 watch、 fork,一键三连支持一下! |
部署的时候出现“Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.”的错误,请问怎么解决呀
The text was updated successfully, but these errors were encountered: