elunez / eladmin

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

when create user ,error #435

Closed zq1297618027 closed 4 years ago

zq1297618027 commented 4 years ago

image JSON parse error: Cannot construct instance of me.zhengjie.modules.system.domain.Role (although at least one Creator exists): no int/Int-argument constructor/factory method to deserialize from Number value (1); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of me.zhengjie.modules.system.domain.Role (although at least one Creator exists): no int/Int-argument constructor/factory method to deserialize from Number value (1) at [Source: (PushbackInputStream); line: 1, column: 107] (through reference chain: me.zhengjie.modules.system.domain.User["roles"]->java.util.HashSet[0])

elunez commented 4 years ago

https://gitee.com/elunez/eladmin-web/commit/2d62228015d67fb0b7f5b4294b1ad580d3db6ba5