异常记录:
com.dangdang.ddframe.job.reg.exception.RegException:java.lang.IllegalStateException:instance must be started before calling this method.
这个异常的原因多是主线程连接异常中断。比如SpringBoot项目中,要检查启动日志是否有报错:
{"log":"控制台-2021-10-26 15:19:03 [main] ERROR org.springframework.boot.SpringApplication - Application run failed\n","stream":"stdout","time":"2021-10-26T07:19:03.927507565Z"}
找到对应的启动错误前后错误日志信息,定位问题。