Consider defining a bean of type ‘com.netflix.discovery.AbstractDiscoveryClientOptionalArgs‘ in your

今天搭建eureka客户端服务运行时报错&#xff0c;如下图所示 经查阅是因为 下面这个依赖注释了&#xff0c;启用后&#xff0c;运行ok <dependency><groupId>o

今天搭建eureka客户端服务运行时报错,如下图所示

经查阅是因为 下面这个依赖注释了,启用后,运行ok

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

这个AbstractDiscoveryClientOptionalArgs需要两个依赖spring-boot-starter-web,spring-cloud-starter-netflix-eureka-client

发布者:admin,转转请注明出处:http://www.yc00.com/web/1738333174a4038368.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信