Skip to content
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

登录 #29

Open
qiaobe opened this issue May 21, 2024 · 8 comments
Open

登录 #29

qiaobe opened this issue May 21, 2024 · 8 comments

Comments

@qiaobe
Copy link

qiaobe commented May 21, 2024

在登录的时候显示我认证失败,让我重新登录
查看代码看不出哪里有问题啊

@fellow-me
Copy link
Owner

具体的报错提示

@qiaobe
Copy link
Author

qiaobe commented May 21, 2024

具体的报错提示

Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@234bc70f] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@960547608 wrapping com.mysql.cj.jdbc.ConnectionImpl@39353f49] will not be managed by Spring
==> Preparing: select distinct pm.* from per_menu pmleft join per_role_menu prm on pm.id = prm.menu_idleft join per_role pr on prm.role_id = pr.idleft join per_staff_role psr on pr.id = psr.role_id where psr.staff_id = ? and pm.status = 1 and pm.level > 0 and pm.is_deleted = 0
==> Parameters: 1(Integer)
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@234bc70f]

@fellow-me
Copy link
Owner

mysql你启动了吗?

@qiaobe
Copy link
Author

qiaobe commented May 21, 2024

mysql你启动了吗?

正常启动了

@fellow-me
Copy link
Owner

redis你配置了吗?

@qiaobe
Copy link
Author

qiaobe commented May 21, 2024

redis你配置了吗?

配置好了,我发现我可以正常启动您这个项目的1.2版本,但是2.0版本会出现这个问题

@fellow-me
Copy link
Owner

结合readme仔细配置一下,应该没问题

@qiaobe
Copy link
Author

qiaobe commented May 21, 2024

结合readme仔细配置一下,应该没问题

重新拉取项目后,成功运行,没找到原因,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants