版权声明:技术有限,如有错误,请指出谢谢!作者:赵先森 出处:https://blog.csdn.net/weixin_37264997 版权所有,欢迎保留原文链接进行转载:) https://blog.csdn.net/weixin_37264997/article/details/88965210
由于旧项目使用的SpringBoot 1.5.x ,admin-server使用的是SpringBoot 2.1.3,此时就会出现跨大版本的兼容问题。目前使用以下配置,未发现异常!
XML
<!-- admin-client -->
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
<version>1.5.6</version>
</dependency>
YML
spring:
application:
name: WeChatAppletAiExperience
boot:
admin:
auto-registration: true
url: http://**.local.**.com:8000
api-path: instances
management:
security:
enabled: false