
spring cloud
ヾ凉秋
哪有什么一见钟情、不过是见色起意罢了、
展开
-
Process finished with exit code 1报错
报错内容:Process finished with exit code 1解决步骤:在启动类上面判断输出:输出结果:只有一个哈哈哈添加异常处理异常捕获:启动后内容:原来是端口被占用了,这个的解决方法参考下面连接https://blog.youkuaiyun.com/qq_45498460/article/details/117321549?spm=1001.2014.3001.5502...原创 2021-11-30 16:14:57 · 409 阅读 · 0 评论 -
启动eureka相关服务报错:Cannot execute request on any known server
报错提示DiscoveryClient_SYSTEM-SERVER/localhost:system-server:8851 - was unable to send heartbeat!com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server报错原因这个是服务端的配置而我的客户端配置是这样的解决方法将我的客户端地址缓存localhost地址原创 2021-08-16 10:02:57 · 1374 阅读 · 0 评论 -
Caused by: feign.FeignException$NotFound: status 404 reading OrderClient#isBuyCourse(String,String)
feign报404错误有以下几个原因1、路径错误在服务消费者断采用GetMapping方式,如@GetMapping("/eduorder/order/idBuyCourse/{courseId}/{memberId}")public boolean isBuyCourse(@PathVariable(value = "courseId") String courseId,@PathVariable(value = "memberId") String memberId);在服务提供者端,用@原创 2021-02-21 10:59:56 · 2746 阅读 · 1 评论 -
The bean ‘xxx‘, defined in null, could not be registered. A bean with that name has already been def
报错提示Description:The bean 'xxx', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.Action:Consider renaming one of the beans or enabling overriding by setting spring.main.allow-be原创 2021-08-05 11:49:05 · 3989 阅读 · 0 评论 -
Rabbit health check failed:java.net.ConnectException: Connection refused: connect
报错内容:2021-07-30 14:16:53.619 [RMI TCP Connection(1)-192.168.3.193] WARN org.springframework.boot.actuate.amqp.RabbitHealthIndicator - Rabbit health check failedorg.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused:原创 2021-07-30 14:26:35 · 666 阅读 · 0 评论 -
com.sun.jersey.api.client.ClientHandlerException:java.net.ConnectException:Connection refused:connec
报错内容:2021-07-30 14:10:29.555 [DiscoveryClient-InstanceInfoReplicator-0] ERROR com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient - Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://39.98.240.21:8660/eureka/}c原创 2021-07-30 14:20:58 · 387 阅读 · 0 评论