elunez / eladmin

eladmin jpa 版本:项目基于 Spring Boot 2.6.4、 Jpa、 Spring Security、Redis、Vue的前后端分离的后台管理系统,项目采用分模块开发方式, 权限控制采用 RBAC,支持数据字典与数据权限管理,支持一键生成前后端代码,支持动态路由
https://eladmin.vip/demo
Apache License 2.0
21.33k stars 7.36k forks source link

本地登录不上,不是密码的原因 #272

Closed heshengqi1991 closed 4 years ago

heshengqi1991 commented 4 years ago

报错 m.z.e.handler.GlobalExceptionHandler - org.springframework.security.authentication.InternalAuthenticationServiceException: com.alibaba.fastjson.JSONObject cannot be cast to me.zhengjie.modules.system.service.dto.UserDto

elunez commented 4 years ago

报错 m.z.e.handler.GlobalExceptionHandler - org.springframework.security.authentication.InternalAuthenticationServiceException: com.alibaba.fastjson.JSONObject cannot be cast to me.zhengjie.modules.system.service.dto.UserDto

清下缓存试试

heshengqi1991 commented 4 years ago

报错 m.z.e.handler.GlobalExceptionHandler - org.springframework.security.authentication.InternalAuthenticationServiceException: com.alibaba.fastjson.JSONObject cannot be cast to me.zhengjie.modules.system.service.dto.UserDto

清下缓存试试

清了缓存,也还是一样。我发现前端还报跨域的错误: Proxy error: Could not proxy request auth/code from localhost:8013 to http://localhost:8000. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED). 这个登录的post 报400 Request URL: http://localhost:8013/auth/login Request Method: POST Status Code: 400 Bad Request Remote Address: 127.0.0.1:8013 Referrer Policy: no-referrer-when-downgrade

nongwenze commented 4 years ago

清理redis