我在和ignite cache合作。我有一个运行在服务器上的服务器节点和几个远程客户端节点,还有一个在本地的客户端节点。当我运行spring启动应用程序的jar文件时,它给出 class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
我检查了其他客户机节点,它们都连接到服务器。因此,我的jar文件无法运行。我正在附上这个错误的日志。
2021-04-28 12:07:50.170 WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:08:20.969 WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:08:53.732 WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:09:27.436 WARN [athens,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:09:59.415 WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
1条答案
按热度按时间cgfeq70w1#
最有可能的情况是,您在Ignite配置中使用了某些类,但这些类并非在所有节点上都存在。
由于没有堆栈跟踪,我们无法知道具体是哪一个。确保所有节点都对类路径具有所有依赖关系。