xuxueli / xxl-job

A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)
http://www.xuxueli.com/xxl-job/
GNU General Public License v3.0
27.58k stars 10.92k forks source link

xxl-job-admin无法整合springbootadmin #1844

Open xhyzwd opened 4 years ago

xhyzwd commented 4 years ago

xxl-job-admin加入spring boot admin依赖和注解后,spring boot admin不起作用

492162921 commented 2 years ago

遇到同样问题, 我是采用了Nacos (不同注册中心有不同处理方案),

spring: main: allow-bean-definition-overriding: true application: name: xxl-job-admin cloud: nacos: discovery: server-addr: ${NACOSHOST:nacos}:${NACOSPORT:8848}

下面是关键,根据你配置的 ${server.servlet.context-path} 上下文

metadata: management: context-path: /xxl-job-admin/actuator