use eureka instead of original http registry way.
cd xxl-job-core;
mvn install;
<dependency>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId>
<version>2.2.0.Cloud</version>
</dependency>
@EnableFeignClients
@EnableEurekaClient
//like this
@SpringBootApplication(exclude = JacksonAutoConfiguration.class,
scanBasePackages = {"com.xxl.job.core.cloud"})
@EnableHystrix
public class RdcjUserApplication {
public static void main(String[] args) {
SpringApplication.run(RdcjUserApplication.class);
}
}