
springcloud
klzsr
近10年多的java经验,励志做一个专业的编码人员。
展开
-
Springboot3.0 打包后,tomcat启动失败
最近升级Springboot3后使用过段时间,本地启动没有问题。MVN打包成功,但是启动后报错。StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[] failed to start原创 2022-12-06 22:53:20 · 990 阅读 · 0 评论 -
SpringCloud Gatway 不起作用,总是不路由,报404
路由不起作用的集中情况:配置如下:spring: application: name: gateway cloud: gateway: routes: - id: cruder_route uri: http://localhost:19602/ predicates: - Path=/crud...原创 2020-02-21 10:29:04 · 14842 阅读 · 5 评论 -
java.lang.IllegalStateException: No instances available for 的一种解决思路
最近使用了SpringCloud2.2.5版本的,调用微服务,总是报一下错误。网上找了各种文章都没有解决问题。我分析了一下原因,主要是调用端没有找到服务列表,如下。动态服务列表是空的。c.n.l.DynamicServerListLoadBalancer : Using serverListUpdater PollingServerListUpdater2020-02-21 ...原创 2020-02-21 10:22:02 · 11194 阅读 · 2 评论 -
springboot2.0下hystrix dashboard Unable to connect to Command Metric Stream解决办法
springboot2.0下hystrix dashboard Unable to connect to Command Metric Stream解决办法检查hystrix应用的配置:management: endpoints: web: exposure: include: hystrix.streampom.xml文件里:必须有如下内容: <de...原创 2018-05-14 23:47:29 · 1287 阅读 · 0 评论 -
基于SpringBoot、WebSocket、Layui做的一个服务器日志监控工具
思路:最近在工作上,基于自己的兴趣,和监控需要。设计并实现了日志监控工具,此工具,目的在与让在生产环境中没有服务器管理权限的开发人员,可以方便的访问到服务器中应用产生的日志和下载相关日志文件。解决的需求是:方便开发人员在微服务环境下进行调试。排查错误。特别是当服务器众多的时候,实现分布式管理服务器。采用技术:SpringBoot,SpringWebStarter,redis...原创 2019-08-24 15:41:04 · 965 阅读 · 0 评论