idea中springboot实现canal同步报错:java.lang.IllegalStateException: Failed to execute CommandLineRunner

时间:2024-04-06 15:30:23

报错信息为:

idea中springboot实现canal同步报错:java.lang.IllegalStateException: Failed to execute CommandLineRunner

 

解决方法:

可能是Linux防火墙没有关闭。关闭防火墙即可!

######################################

CentOS 8 防火墙关闭等命令

1--查看防火墙状态

systemctl status firewalld.service

2--开启防火墙

systemctl start firewalld.service

3--关闭防火墙

systemctl stop firewalld.service

4--禁用防火墙

systemctl disable firewalld.service

5--防火墙开机自动开启

systemctl enable firewalld.service

6--禁用防火墙开机自动开启

systemctl disable firewalld.service