反序列化的问题

反序列化的问题

org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User


D:\develop\Java\jdk1.8.0_231\bin\java.exe "-javaagent:D:\develop\idea\IntelliJ IDEA Community Edition 2020.3\lib\idea_rt.jar=53424:D:\develop\idea\IntelliJ IDEA Community Edition 2020.3\bin" -Dfile.encoding=UTF-8 -classpath D:\develop\Java\jdk1.8.0_231\jre\lib\charsets.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\deploy.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\access-bridge-64.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\cldrdata.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\dnsns.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\jaccess.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\jfxrt.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\localedata.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\nashorn.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\sunec.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\sunjce_provider.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\sunmscapi.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\sunpkcs11.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\ext\zipfs.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\javaws.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\jce.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\jfr.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\jfxswt.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\jsse.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\management-agent.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\plugin.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\resources.jar;D:\develop\Java\jdk1.8.0_231\jre\lib\rt.jar;E:\ideaworkspace\cloud-mall-practice\cloud-mall-category-product\target\classes;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-web\2.1.12.RELEASE\spring-boot-starter-web-2.1.12.RELEASE.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-json\2.1.12.RELEASE\spring-boot-starter-json-2.1.12.RELEASE.jar;D:\develop\repmaven\com\fasterxml\jackson\core\jackson-databind\2.9.10.2\jackson-databind-2.9.10.2.jar;D:\develop\repmaven\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.10\jackson-datatype-jdk8-2.9.10.jar;D:\develop\repmaven\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.10\jackson-datatype-jsr310-2.9.10.jar;D:\develop\repmaven\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.10\jackson-module-parameter-names-2.9.10.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-tomcat\2.1.12.RELEASE\spring-boot-starter-tomcat-2.1.12.RELEASE.jar;D:\develop\repmaven\org\apache\tomcat\embed\tomcat-embed-core\9.0.30\tomcat-embed-core-9.0.30.jar;D:\develop\repmaven\org\apache\tomcat\embed\tomcat-embed-el\9.0.30\tomcat-embed-el-9.0.30.jar;D:\develop\repmaven\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.30\tomcat-embed-websocket-9.0.30.jar;D:\develop\repmaven\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;D:\develop\repmaven\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;D:\develop\repmaven\org\jboss\logging\jboss-logging\3.3.3.Final\jboss-logging-3.3.3.Final.jar;D:\develop\repmaven\org\springframework\spring-web\5.1.13.RELEASE\spring-web-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-beans\5.1.13.RELEASE\spring-beans-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-webmvc\5.1.13.RELEASE\spring-webmvc-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-aop\5.1.13.RELEASE\spring-aop-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-context\5.1.13.RELEASE\spring-context-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-expression\5.1.13.RELEASE\spring-expression-5.1.13.RELEASE.jar;D:\develop\repmaven\mysql\mysql-connector-java\8.0.19\mysql-connector-java-8.0.19.jar;D:\develop\repmaven\org\mybatis\spring\boot\mybatis-spring-boot-starter\2.1.1\mybatis-spring-boot-starter-2.1.1.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-jdbc\2.1.12.RELEASE\spring-boot-starter-jdbc-2.1.12.RELEASE.jar;D:\develop\repmaven\com\zaxxer\HikariCP\3.2.0\HikariCP-3.2.0.jar;D:\develop\repmaven\org\springframework\spring-jdbc\5.1.13.RELEASE\spring-jdbc-5.1.13.RELEASE.jar;D:\develop\repmaven\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\2.1.1\mybatis-spring-boot-autoconfigure-2.1.1.jar;D:\develop\repmaven\org\mybatis\mybatis\3.5.3\mybatis-3.5.3.jar;D:\develop\repmaven\org\mybatis\mybatis-spring\2.0.3\mybatis-spring-2.0.3.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-starter-netflix-eureka-client\2.1.5.RELEASE\spring-cloud-starter-netflix-eureka-client-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-starter\2.1.5.RELEASE\spring-cloud-starter-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-context\2.1.5.RELEASE\spring-cloud-context-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\security\spring-security-rsa\1.0.9.RELEASE\spring-security-rsa-1.0.9.RELEASE.jar;D:\develop\repmaven\org\bouncycastle\bcpkix-jdk15on\1.64\bcpkix-jdk15on-1.64.jar;D:\develop\repmaven\org\bouncycastle\bcprov-jdk15on\1.64\bcprov-jdk15on-1.64.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-netflix-hystrix\2.1.5.RELEASE\spring-cloud-netflix-hystrix-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-aop\2.1.12.RELEASE\spring-boot-starter-aop-2.1.12.RELEASE.jar;D:\develop\repmaven\org\aspectj\aspectjweaver\1.9.5\aspectjweaver-1.9.5.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-netflix-eureka-client\2.1.5.RELEASE\spring-cloud-netflix-eureka-client-2.1.5.RELEASE.jar;D:\develop\repmaven\com\netflix\eureka\eureka-client\1.9.13\eureka-client-1.9.13.jar;D:\develop\repmaven\org\codehaus\jettison\jettison\1.3.7\jettison-1.3.7.jar;D:\develop\repmaven\stax\stax-api\1.0.1\stax-api-1.0.1.jar;D:\develop\repmaven\com\netflix\netflix-commons\netflix-eventbus\0.3.0\netflix-eventbus-0.3.0.jar;D:\develop\repmaven\com\netflix\netflix-commons\netflix-infix\0.3.0\netflix-infix-0.3.0.jar;D:\develop\repmaven\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;D:\develop\repmaven\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;D:\develop\repmaven\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;D:\develop\repmaven\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\develop\repmaven\com\google\code\gson\gson\2.8.6\gson-2.8.6.jar;D:\develop\repmaven\org\apache\commons\commons-math\2.2\commons-math-2.2.jar;D:\develop\repmaven\com\netflix\archaius\archaius-core\0.7.6\archaius-core-0.7.6.jar;D:\develop\repmaven\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\develop\repmaven\com\netflix\servo\servo-core\0.12.21\servo-core-0.12.21.jar;D:\develop\repmaven\com\sun\jersey\jersey-core\1.19.1\jersey-core-1.19.1.jar;D:\develop\repmaven\com\sun\jersey\jersey-client\1.19.1\jersey-client-1.19.1.jar;D:\develop\repmaven\com\sun\jersey\contribs\jersey-apache-client4\1.19.1\jersey-apache-client4-1.19.1.jar;D:\develop\repmaven\org\apache\httpcomponents\httpclient\4.5.10\httpclient-4.5.10.jar;D:\develop\repmaven\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;D:\develop\repmaven\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;D:\develop\repmaven\com\google\inject\guice\4.1.0\guice-4.1.0.jar;D:\develop\repmaven\javax\inject\javax.inject\1\javax.inject-1.jar;D:\develop\repmaven\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;D:\develop\repmaven\com\fasterxml\jackson\core\jackson-annotations\2.9.10\jackson-annotations-2.9.10.jar;D:\develop\repmaven\com\fasterxml\jackson\core\jackson-core\2.9.10\jackson-core-2.9.10.jar;D:\develop\repmaven\com\netflix\eureka\eureka-core\1.9.13\eureka-core-1.9.13.jar;D:\develop\repmaven\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;D:\develop\repmaven\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-starter-netflix-archaius\2.1.5.RELEASE\spring-cloud-starter-netflix-archaius-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-netflix-ribbon\2.1.5.RELEASE\spring-cloud-netflix-ribbon-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-netflix-archaius\2.1.5.RELEASE\spring-cloud-netflix-archaius-2.1.5.RELEASE.jar;D:\develop\repmaven\commons-configuration\commons-configuration\1.8\commons-configuration-1.8.jar;D:\develop\repmaven\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-starter-netflix-ribbon\2.1.5.RELEASE\spring-cloud-starter-netflix-ribbon-2.1.5.RELEASE.jar;D:\develop\repmaven\com\netflix\ribbon\ribbon\2.3.0\ribbon-2.3.0.jar;D:\develop\repmaven\com\netflix\ribbon\ribbon-transport\2.3.0\ribbon-transport-2.3.0.jar;D:\develop\repmaven\io\reactivex\rxnetty-contexts\0.4.9\rxnetty-contexts-0.4.9.jar;D:\develop\repmaven\io\reactivex\rxnetty-servo\0.4.9\rxnetty-servo-0.4.9.jar;D:\develop\repmaven\io\reactivex\rxnetty\0.4.9\rxnetty-0.4.9.jar;D:\develop\repmaven\com\netflix\ribbon\ribbon-core\2.3.0\ribbon-core-2.3.0.jar;D:\develop\repmaven\com\netflix\ribbon\ribbon-httpclient\2.3.0\ribbon-httpclient-2.3.0.jar;D:\develop\repmaven\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\develop\repmaven\com\netflix\netflix-commons\netflix-commons-util\0.3.0\netflix-commons-util-0.3.0.jar;D:\develop\repmaven\com\netflix\ribbon\ribbon-loadbalancer\2.3.0\ribbon-loadbalancer-2.3.0.jar;D:\develop\repmaven\com\netflix\netflix-commons\netflix-statistics\0.1.1\netflix-statistics-0.1.1.jar;D:\develop\repmaven\io\reactivex\rxjava\1.3.8\rxjava-1.3.8.jar;D:\develop\repmaven\com\netflix\ribbon\ribbon-eureka\2.3.0\ribbon-eureka-2.3.0.jar;D:\develop\repmaven\com\thoughtworks\xstream\xstream\1.4.11.1\xstream-1.4.11.1.jar;D:\develop\repmaven\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;D:\develop\repmaven\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-data-redis\2.1.12.RELEASE\spring-boot-starter-data-redis-2.1.12.RELEASE.jar;D:\develop\repmaven\org\springframework\data\spring-data-redis\2.1.15.RELEASE\spring-data-redis-2.1.15.RELEASE.jar;D:\develop\repmaven\org\springframework\data\spring-data-keyvalue\2.1.15.RELEASE\spring-data-keyvalue-2.1.15.RELEASE.jar;D:\develop\repmaven\org\springframework\data\spring-data-commons\2.1.15.RELEASE\spring-data-commons-2.1.15.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-tx\5.1.13.RELEASE\spring-tx-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-oxm\5.1.13.RELEASE\spring-oxm-5.1.13.RELEASE.jar;D:\develop\repmaven\io\lettuce\lettuce-core\5.1.8.RELEASE\lettuce-core-5.1.8.RELEASE.jar;D:\develop\repmaven\io\netty\netty-common\4.1.45.Final\netty-common-4.1.45.Final.jar;D:\develop\repmaven\io\netty\netty-handler\4.1.45.Final\netty-handler-4.1.45.Final.jar;D:\develop\repmaven\io\netty\netty-buffer\4.1.45.Final\netty-buffer-4.1.45.Final.jar;D:\develop\repmaven\io\netty\netty-codec\4.1.45.Final\netty-codec-4.1.45.Final.jar;D:\develop\repmaven\io\netty\netty-transport\4.1.45.Final\netty-transport-4.1.45.Final.jar;D:\develop\repmaven\io\netty\netty-resolver\4.1.45.Final\netty-resolver-4.1.45.Final.jar;D:\develop\repmaven\io\projectreactor\reactor-core\3.2.14.RELEASE\reactor-core-3.2.14.RELEASE.jar;D:\develop\repmaven\org\reactivestreams\reactive-streams\1.0.3\reactive-streams-1.0.3.jar;D:\develop\repmaven\org\springframework\session\spring-session-data-redis\2.1.9.RELEASE\spring-session-data-redis-2.1.9.RELEASE.jar;D:\develop\repmaven\org\springframework\session\spring-session-core\2.1.9.RELEASE\spring-session-core-2.1.9.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-jcl\5.1.13.RELEASE\spring-jcl-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-starter-openfeign\2.1.5.RELEASE\spring-cloud-starter-openfeign-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-openfeign-core\2.1.5.RELEASE\spring-cloud-openfeign-core-2.1.5.RELEASE.jar;D:\develop\repmaven\io\github\openfeign\form\feign-form-spring\3.8.0\feign-form-spring-3.8.0.jar;D:\develop\repmaven\io\github\openfeign\form\feign-form\3.8.0\feign-form-3.8.0.jar;D:\develop\repmaven\commons-fileupload\commons-fileupload\1.4\commons-fileupload-1.4.jar;D:\develop\repmaven\commons-io\commons-io\2.2\commons-io-2.2.jar;D:\develop\repmaven\org\springframework\cloud\spring-cloud-commons\2.1.5.RELEASE\spring-cloud-commons-2.1.5.RELEASE.jar;D:\develop\repmaven\org\springframework\security\spring-security-crypto\5.1.7.RELEASE\spring-security-crypto-5.1.7.RELEASE.jar;D:\develop\repmaven\io\github\openfeign\feign-core\10.4.0\feign-core-10.4.0.jar;D:\develop\repmaven\io\github\openfeign\feign-slf4j\10.4.0\feign-slf4j-10.4.0.jar;D:\develop\repmaven\io\github\openfeign\feign-hystrix\10.4.0\feign-hystrix-10.4.0.jar;D:\develop\repmaven\com\netflix\hystrix\hystrix-core\1.5.18\hystrix-core-1.5.18.jar;D:\develop\repmaven\org\hdrhistogram\HdrHistogram\2.1.9\HdrHistogram-2.1.9.jar;E:\ideaworkspace\cloud-mall-practice\cloud-mall-common\target\classes;D:\develop\repmaven\com\github\pagehelper\pagehelper-spring-boot-starter\1.2.13\pagehelper-spring-boot-starter-1.2.13.jar;D:\develop\repmaven\com\github\pagehelper\pagehelper-spring-boot-autoconfigure\1.2.13\pagehelper-spring-boot-autoconfigure-1.2.13.jar;D:\develop\repmaven\com\github\pagehelper\pagehelper\5.1.11\pagehelper-5.1.11.jar;D:\develop\repmaven\com\github\jsqlparser\jsqlparser\2.0\jsqlparser-2.0.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-cache\2.1.12.RELEASE\spring-boot-starter-cache-2.1.12.RELEASE.jar;D:\develop\repmaven\org\springframework\spring-context-support\5.1.13.RELEASE\spring-context-support-5.1.13.RELEASE.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter\2.1.12.RELEASE\spring-boot-starter-2.1.12.RELEASE.jar;D:\develop\repmaven\org\springframework\boot\spring-boot\2.1.12.RELEASE\spring-boot-2.1.12.RELEASE.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-autoconfigure\2.1.12.RELEASE\spring-boot-autoconfigure-2.1.12.RELEASE.jar;D:\develop\repmaven\org\springframework\boot\spring-boot-starter-logging\2.1.12.RELEASE\spring-boot-starter-logging-2.1.12.RELEASE.jar;D:\develop\repmaven\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;D:\develop\repmaven\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;D:\develop\repmaven\org\apache\logging\log4j\log4j-to-slf4j\2.11.2\log4j-to-slf4j-2.11.2.jar;D:\develop\repmaven\org\apache\logging\log4j\log4j-api\2.11.2\log4j-api-2.11.2.jar;D:\develop\repmaven\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;D:\develop\repmaven\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;D:\develop\repmaven\org\springframework\spring-core\5.1.13.RELEASE\spring-core-5.1.13.RELEASE.jar;D:\develop\repmaven\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;D:\develop\repmaven\net\bytebuddy\byte-buddy\1.9.16\byte-buddy-1.9.16.jar;D:\develop\repmaven\io\springfox\springfox-swagger2\2.9.2\springfox-swagger2-2.9.2.jar;D:\develop\repmaven\io\swagger\swagger-annotations\1.5.20\swagger-annotations-1.5.20.jar;D:\develop\repmaven\io\swagger\swagger-models\1.5.20\swagger-models-1.5.20.jar;D:\develop\repmaven\io\springfox\springfox-spi\2.9.2\springfox-spi-2.9.2.jar;D:\develop\repmaven\io\springfox\springfox-core\2.9.2\springfox-core-2.9.2.jar;D:\develop\repmaven\io\springfox\springfox-schema\2.9.2\springfox-schema-2.9.2.jar;D:\develop\repmaven\io\springfox\springfox-swagger-common\2.9.2\springfox-swagger-common-2.9.2.jar;D:\develop\repmaven\io\springfox\springfox-spring-web\2.9.2\springfox-spring-web-2.9.2.jar;D:\develop\repmaven\com\google\guava\guava\20.0\guava-20.0.jar;D:\develop\repmaven\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;D:\develop\repmaven\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\develop\repmaven\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;D:\develop\repmaven\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;D:\develop\repmaven\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;D:\develop\repmaven\io\springfox\springfox-swagger-ui\2.9.2\springfox-swagger-ui-2.9.2.jar com.imooc.cloud.mall.practice.categoryproduct.CategoryProductApplication


  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::       (v2.1.12.RELEASE)


15:57:06.415 - INFO 69796 --- [           main] c.i.c.m.p.c.CategoryProductApplication   : No active profile set, falling back to default profiles: default

15:57:14.839 - INFO 69796 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!

15:57:14.850 - INFO 69796 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.

15:57:15.583 - INFO 69796 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 394ms. Found 0 Redis repository interfaces.

15:57:20.618 - INFO 69796 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=f8986b5e-11eb-3667-a791-82085b5fa2bf

15:57:21.611 - INFO 69796 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$332085c3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

15:57:29.205 - INFO 69796 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8082 (http)

15:57:29.335 - INFO 69796 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]

15:57:29.335 - INFO 69796 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.30]

15:57:30.540 - INFO 69796 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext

15:57:30.541 - INFO 69796 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 24016 ms

15:57:37.053 - INFO 69796 --- [           main] io.lettuce.core.EpollProvider            : Starting without optional epoll library

15:57:37.055 - INFO 69796 --- [           main] io.lettuce.core.KqueueProvider           : Starting without optional kqueue library

15:57:43.140 - WARN 69796 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

15:57:43.140 - INFO 69796 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.

15:57:43.181 - WARN 69796 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

15:57:43.181 - INFO 69796 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.

15:57:46.048 - INFO 69796 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'

15:57:54.179 - INFO 69796 --- [           main] o.s.c.n.eureka.InstanceInfoFactory       : Setting initial instance status as: STARTING

15:57:54.270 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Initializing Eureka in region us-east-1

15:57:55.799 - INFO 69796 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON encoding codec LegacyJacksonJson

15:57:55.800 - INFO 69796 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using JSON decoding codec LegacyJacksonJson

15:57:56.403 - INFO 69796 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML encoding codec XStreamXml

15:57:56.403 - INFO 69796 --- [           main] c.n.d.provider.DiscoveryJerseyProvider   : Using XML decoding codec XStreamXml

15:57:56.844 - INFO 69796 --- [           main] c.n.d.s.r.aws.ConfigClusterResolver      : Resolving eureka endpoints via configuration

15:57:57.806 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Disable delta property : false

15:57:57.806 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null

15:57:57.806 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false

15:57:57.806 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Application is null : false

15:57:57.807 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true

15:57:57.807 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Application version is -1: true

15:57:57.807 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server

15:57:58.040 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : The response status is 200

15:57:58.042 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Starting heartbeat executor: renew interval is: 30

15:57:58.047 - INFO 69796 --- [           main] c.n.discovery.InstanceInfoReplicator     : InstanceInfoReplicator onDemand update allowed rate per min is 4

15:57:58.054 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Discovery Client initialized at timestamp 1631606278051 with initial instances count: 0

15:57:58.063 - INFO 69796 --- [           main] o.s.c.n.e.s.EurekaServiceRegistry        : Registering application CLOUD-MALL-CATEGORY-PRODUCT with eureka with status UP

15:57:58.064 - INFO 69796 --- [           main] com.netflix.discovery.DiscoveryClient    : Saw local status change event StatusChangeEvent [timestamp=1631606278064, current=UP, previous=STARTING]

15:57:58.070 - INFO 69796 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_CLOUD-MALL-CATEGORY-PRODUCT/windows10.microdone.cn:cloud-mall-category-product:8082: registering service...

15:57:58.287 - INFO 69796 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient    : DiscoveryClient_CLOUD-MALL-CATEGORY-PRODUCT/windows10.microdone.cn:cloud-mall-category-product:8082 - registration status: 204

15:57:58.711 - INFO 69796 --- [           main] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing

15:57:58.748 - INFO 69796 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8082 (http) with context path ''

15:57:58.749 - INFO 69796 --- [           main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 8082

15:58:00.156 - INFO 69796 --- [           main] c.i.c.m.p.c.CategoryProductApplication   : Started CategoryProductApplication in 74.695 seconds (JVM running for 78.29)

15:58:28.043 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Disable delta property : false

15:58:28.044 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Single vip registry refresh property : null

15:58:28.044 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Force full registry fetch : false

15:58:28.046 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Application is null : false

15:58:28.047 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Registered Applications size is zero : true

15:58:28.049 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Application version is -1: false

15:58:28.050 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : Getting all instance registry info from the eureka server

15:58:28.133 - INFO 69796 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient    : The response status is 200

16:01:10.190 - INFO 69796 --- [nio-8082-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'

16:01:10.190 - INFO 69796 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'

16:01:10.214 - INFO 69796 --- [nio-8082-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 24 ms

16:01:10.326 -ERROR 69796 --- [nio-8082-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception


org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:84) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.AbstractOperations.deserializeHashValue(AbstractOperations.java:355) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.AbstractOperations.deserializeHashMap(AbstractOperations.java:299) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.DefaultHashOperations.entries(DefaultHashOperations.java:247) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.DefaultBoundHashOperations.entries(DefaultBoundHashOperations.java:183) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:466) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.findById(RedisOperationsSessionRepository.java:435) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.findById(RedisOperationsSessionRepository.java:247) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getRequestedSession(SessionRepositoryFilter.java:386) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession(SessionRepositoryFilter.java:312) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession(SessionRepositoryFilter.java:207) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.web.util.WebUtils.getSessionId(WebUtils.java:359) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.publishRequestHandledEvent(FrameworkServlet.java:1145) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1023) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:94) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:151) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:86) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.30.jar:9.0.30]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_231]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_231]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.30.jar:9.0.30]

at java.lang.Thread.run(Thread.java:748) [na:1.8.0_231]

Caused by: org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:78) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:36) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:82) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

... 58 common frames omitted

Caused by: org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:75) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:73) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

... 60 common frames omitted

Caused by: java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_231]

at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[na:1.8.0_231]

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) ~[na:1.8.0_231]

at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[na:1.8.0_231]

at java.lang.Class.forName0(Native Method) ~[na:1.8.0_231]

at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_231]

at org.springframework.util.ClassUtils.forName(ClassUtils.java:281) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.ConfigurableObjectInputStream.resolveClass(ConfigurableObjectInputStream.java:76) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431) ~[na:1.8.0_231]

at org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:72) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

... 61 common frames omitted


16:01:10.347 -ERROR 69796 --- [nio-8082-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] threw exception


org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:84) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.AbstractOperations.deserializeHashValue(AbstractOperations.java:355) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.AbstractOperations.deserializeHashMap(AbstractOperations.java:299) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.DefaultHashOperations.entries(DefaultHashOperations.java:247) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.DefaultBoundHashOperations.entries(DefaultBoundHashOperations.java:183) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:466) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.findById(RedisOperationsSessionRepository.java:435) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.findById(RedisOperationsSessionRepository.java:247) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getRequestedSession(SessionRepositoryFilter.java:386) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession(SessionRepositoryFilter.java:312) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession(SessionRepositoryFilter.java:207) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.web.util.WebUtils.getSessionId(WebUtils.java:359) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.publishRequestHandledEvent(FrameworkServlet.java:1145) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1023) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:151) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:86) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:348) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.30.jar:9.0.30]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_231]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_231]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.30.jar:9.0.30]

at java.lang.Thread.run(Thread.java:748) [na:1.8.0_231]

Caused by: org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:78) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:36) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:82) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

... 43 common frames omitted

Caused by: org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:75) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:73) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

... 45 common frames omitted

Caused by: java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_231]

at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[na:1.8.0_231]

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) ~[na:1.8.0_231]

at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[na:1.8.0_231]

at java.lang.Class.forName0(Native Method) ~[na:1.8.0_231]

at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_231]

at org.springframework.util.ClassUtils.forName(ClassUtils.java:281) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.ConfigurableObjectInputStream.resolveClass(ConfigurableObjectInputStream.java:76) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431) ~[na:1.8.0_231]

at org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:72) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

... 46 common frames omitted


16:01:10.352 -ERROR 69796 --- [nio-8082-exec-1] o.a.c.c.C.[Tomcat].[localhost]           : Exception Processing ErrorPage[errorCode=0, location=/error]


org.springframework.data.redis.serializer.SerializationException: Cannot deserialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:84) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.AbstractOperations.deserializeHashValue(AbstractOperations.java:355) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.AbstractOperations.deserializeHashMap(AbstractOperations.java:299) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.DefaultHashOperations.entries(DefaultHashOperations.java:247) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.data.redis.core.DefaultBoundHashOperations.entries(DefaultBoundHashOperations.java:183) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.getSession(RedisOperationsSessionRepository.java:466) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.findById(RedisOperationsSessionRepository.java:435) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.data.redis.RedisOperationsSessionRepository.findById(RedisOperationsSessionRepository.java:247) ~[spring-session-data-redis-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getRequestedSession(SessionRepositoryFilter.java:386) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession(SessionRepositoryFilter.java:312) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.SessionRepositoryFilter$SessionRepositoryRequestWrapper.getSession(SessionRepositoryFilter.java:207) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.web.util.WebUtils.getSessionId(WebUtils.java:359) ~[spring-web-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.publishRequestHandledEvent(FrameworkServlet.java:1145) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1023) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:151) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:86) ~[spring-session-core-2.1.9.RELEASE.jar:2.1.9.RELEASE]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) ~[tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:348) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598) [tomcat-embed-core-9.0.30.jar:9.0.30]

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.30.jar:9.0.30]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_231]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_231]

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.30.jar:9.0.30]

at java.lang.Thread.run(Thread.java:748) [na:1.8.0_231]

Caused by: org.springframework.core.serializer.support.SerializationFailedException: Failed to deserialize payload. Is the byte array a result of corresponding serialization for DefaultDeserializer?; nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:78) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:36) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.deserialize(JdkSerializationRedisSerializer.java:82) ~[spring-data-redis-2.1.15.RELEASE.jar:2.1.15.RELEASE]

... 43 common frames omitted

Caused by: org.springframework.core.NestedIOException: Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:75) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.serializer.support.DeserializingConverter.convert(DeserializingConverter.java:73) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

... 45 common frames omitted

Caused by: java.lang.ClassNotFoundException: com.imooc.cloud.mall.practice.user.model.pojo.User

at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_231]

at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[na:1.8.0_231]

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) ~[na:1.8.0_231]

at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[na:1.8.0_231]

at java.lang.Class.forName0(Native Method) ~[na:1.8.0_231]

at java.lang.Class.forName(Class.java:348) ~[na:1.8.0_231]

at org.springframework.util.ClassUtils.forName(ClassUtils.java:281) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at org.springframework.core.ConfigurableObjectInputStream.resolveClass(ConfigurableObjectInputStream.java:76) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) ~[na:1.8.0_231]

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431) ~[na:1.8.0_231]

at org.springframework.core.serializer.DefaultDeserializer.deserialize(DefaultDeserializer.java:72) ~[spring-core-5.1.13.RELEASE.jar:5.1.13.RELEASE]

... 46 common frames omitted

正在回答 回答被采纳积分+1

登陆购买课程后可参与讨论,去登陆

1回答
好帮手慕小脸 2021-09-14 18:13:32

同学你好,

1、在对应的包路径下是否存在User类呢?包名是否正确?

2、在编译目录(target/out中)是否正确编译该类呢?如果没有,删除编译目录重新运行

https://img1.sycdn.imooc.com//climg/614075b909fc731611530436.jpg

​祝学习愉快~

  • 提问者 qq_溪渔_0 #1
    2021-09-14 19:40:18
  • 提问者 qq_溪渔_0 #2

    不知道问题出在哪里?


    2021-09-14 19:40:56
  • 好帮手慕小脸 回复 提问者 qq_溪渔_0 #3

    同学你好,现在无需关注html代码,这里需要同学确保类路径正确,类名正确才可以,其次检查编译目录是否正确编译

    祝学习愉快~

    2021-09-15 10:33:59
问题已解决,确定采纳
还有疑问,暂不采纳

恭喜解决一个难题,获得1积分~

来为老师/同学的回答评分吧

0 星
请稍等 ...
意见反馈 帮助中心 APP下载
官方微信

在线咨询

领取优惠

免费试听

领取大纲

扫描二维码,添加
你的专属老师