fellow-me / hrm

基于Spring Boot+Vue+ElementUI的人力资源管理系统
GNU General Public License v3.0
219 stars 48 forks source link

登录 #29

Open qiaobe opened 3 months ago

qiaobe commented 3 months ago

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

fellow-me commented 3 months ago

具体的报错提示

qiaobe commented 3 months ago

具体的报错提示

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 commented 3 months ago

mysql你启动了吗?

qiaobe commented 3 months ago

mysql你启动了吗?

正常启动了

fellow-me commented 3 months ago

redis你配置了吗?

qiaobe commented 3 months ago

redis你配置了吗?

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

fellow-me commented 3 months ago

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

qiaobe commented 3 months ago

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

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