You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2022-06-27 23:53:21.072 ERROR 79371 --- [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Could not resolve type id 'com.macro.mall.model.UmsResource' as a subtype of java.lang.Object: no such class found at [Source: (byte[])"["java.util.ArrayList",[["com.macro.mall.model.UmsResource",{"id":1,"createTime":["java.util.Date",1580807095000],"name":"商品品牌管理","url":"/brand/**","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":2,"createTime":["java.util.Date",1580807135000],"name":"商品属性分类管理","url":"/productAttribute/**","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":3,"createTime":["java.util.Date",1580807173000],"name":"商品属性管?"[truncated 4540 bytes]; line: 1, column: 61] (through reference chain: java.util.ArrayList[0]); nested exception is com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'com.macro.mall.model.UmsResource' as a subtype of java.lang.Object`: no such class found
at [Source: (byte[])"["java.util.ArrayList",[["com.macro.mall.model.UmsResource",{"id":1,"createTime":["java.util.Date",1580807095000],"name":"商品品牌管理","url":"/brand/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":2,"createTime":["java.util.Date",1580807135000],"name":"商品属性分类管理","url":"/productAttribute/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":3,"createTime":["java.util.Date",1580807173000],"name":"商品属性管?"[truncated 4540 bytes]; line: 1, column: 61] (through reference chain: java.util.ArrayList[0])] with root cause
com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'com.macro.mall.model.UmsResource' as a subtype of java.lang.Object: no such class found
at [Source: (byte[])"["java.util.ArrayList",[["com.macro.mall.model.UmsResource",{"id":1,"createTime":["java.util.Date",1580807095000],"name":"商品品牌管理","url":"/brand/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":2,"createTime":["java.util.Date",1580807135000],"name":"商品属性分类管理","url":"/productAttribute/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":3,"createTime":["java.util.Date",1580807173000],"name":"商品属性管?"[truncated 4540 bytes]; line: 1, column: 61] (through reference chain: java.util.ArrayList[0])
at com.fasterxml.jackson.databind.exc.InvalidTypeIdException.from(InvalidTypeIdException.java:43) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.DeserializationContext.invalidTypeIdException(DeserializationContext.java:1780) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownTypeId(DeserializationContext.java:1287) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver._typeFromId(ClassNameIdResolver.java:76) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver.typeFromId(ClassNameIdResolver.java:66) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:154) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer._deserialize(AsArrayTypeDeserializer.java:97) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer.deserializeTypedFromAny(AsArrayTypeDeserializer.java:71) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserializeWithType(UntypedObjectDeserializer.java:710) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:287) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:244) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer._deserialize(AsArrayTypeDeserializer.java:120) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer.deserializeTypedFromAny(AsArrayTypeDeserializer.java:71) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserializeWithType(UntypedObjectDeserializer.java:710) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize(TypeWrappedDeserializer.java:68) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4482) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3538) ~[jackson-databind-2.11.0.jar:2.11.0]
at org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer.deserialize(Jackson2JsonRedisSerializer.java:73) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:335) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:61) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:228) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:188) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:96) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:53) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at com.macro.mall.tiny.common.service.impl.RedisServiceImpl.get(RedisServiceImpl.java:32) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminCacheServiceImpl.getResourceList(UmsAdminCacheServiceImpl.java:107) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl.getResourceList(UmsAdminServiceImpl.java:223) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl.loadUserByUsername(UmsAdminServiceImpl.java:262) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl.login(UmsAdminServiceImpl.java:104) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl$$FastClassBySpringCGLIB$$1bb1d409.invoke() ~[classes/:na]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl$$EnhancerBySpringCGLIB$$a03dce87.login() ~[classes/:na]`
The text was updated successfully, but these errors were encountered:
2022-06-27 23:53:21.072 ERROR 79371 --- [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Could not resolve type id 'com.macro.mall.model.UmsResource' as a subtype of
java.lang.Object: no such class found at [Source: (byte[])"["java.util.ArrayList",[["com.macro.mall.model.UmsResource",{"id":1,"createTime":["java.util.Date",1580807095000],"name":"商品品牌管理","url":"/brand/**","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":2,"createTime":["java.util.Date",1580807135000],"name":"商品属性分类管理","url":"/productAttribute/**","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":3,"createTime":["java.util.Date",1580807173000],"name":"商品属性管?"[truncated 4540 bytes]; line: 1, column: 61] (through reference chain: java.util.ArrayList[0]); nested exception is com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'com.macro.mall.model.UmsResource' as a subtype of
java.lang.Object`: no such class foundat [Source: (byte[])"["java.util.ArrayList",[["com.macro.mall.model.UmsResource",{"id":1,"createTime":["java.util.Date",1580807095000],"name":"商品品牌管理","url":"/brand/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":2,"createTime":["java.util.Date",1580807135000],"name":"商品属性分类管理","url":"/productAttribute/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":3,"createTime":["java.util.Date",1580807173000],"name":"商品属性管?"[truncated 4540 bytes]; line: 1, column: 61] (through reference chain: java.util.ArrayList[0])] with root cause
com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'com.macro.mall.model.UmsResource' as a subtype of
java.lang.Object
: no such class foundat [Source: (byte[])"["java.util.ArrayList",[["com.macro.mall.model.UmsResource",{"id":1,"createTime":["java.util.Date",1580807095000],"name":"商品品牌管理","url":"/brand/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":2,"createTime":["java.util.Date",1580807135000],"name":"商品属性分类管理","url":"/productAttribute/","description":null,"categoryId":1}],["com.macro.mall.model.UmsResource",{"id":3,"createTime":["java.util.Date",1580807173000],"name":"商品属性管?"[truncated 4540 bytes]; line: 1, column: 61] (through reference chain: java.util.ArrayList[0])
at com.fasterxml.jackson.databind.exc.InvalidTypeIdException.from(InvalidTypeIdException.java:43) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.DeserializationContext.invalidTypeIdException(DeserializationContext.java:1780) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownTypeId(DeserializationContext.java:1287) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver._typeFromId(ClassNameIdResolver.java:76) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver.typeFromId(ClassNameIdResolver.java:66) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:154) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer._deserialize(AsArrayTypeDeserializer.java:97) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer.deserializeTypedFromAny(AsArrayTypeDeserializer.java:71) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserializeWithType(UntypedObjectDeserializer.java:710) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:287) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:244) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer._deserialize(AsArrayTypeDeserializer.java:120) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer.deserializeTypedFromAny(AsArrayTypeDeserializer.java:71) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserializeWithType(UntypedObjectDeserializer.java:710) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize(TypeWrappedDeserializer.java:68) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4482) ~[jackson-databind-2.11.0.jar:2.11.0]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3538) ~[jackson-databind-2.11.0.jar:2.11.0]
at org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer.deserialize(Jackson2JsonRedisSerializer.java:73) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.AbstractOperations.deserializeValue(AbstractOperations.java:335) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:61) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:228) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:188) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:96) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:53) ~[spring-data-redis-2.3.0.RELEASE.jar:2.3.0.RELEASE]
at com.macro.mall.tiny.common.service.impl.RedisServiceImpl.get(RedisServiceImpl.java:32) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminCacheServiceImpl.getResourceList(UmsAdminCacheServiceImpl.java:107) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl.getResourceList(UmsAdminServiceImpl.java:223) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl.loadUserByUsername(UmsAdminServiceImpl.java:262) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl.login(UmsAdminServiceImpl.java:104) ~[classes/:na]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl$$FastClassBySpringCGLIB$$1bb1d409.invoke() ~[classes/:na]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE]
at com.macro.mall.tiny.modules.ums.service.impl.UmsAdminServiceImpl$$EnhancerBySpringCGLIB$$a03dce87.login() ~[classes/:na]`
The text was updated successfully, but these errors were encountered: