当前位置: 首页 > news >正文

安全的网站建设公司站长推荐黄色

安全的网站建设公司,站长推荐黄色,做淘客网站 知乎,怎么做售房网站问题 SpringBoot 启动后 ,VS Code 报错 Failed to refresh live data from process ****。 现场是,SpringBoot 项目启动时,VS Code 将进行如下刷新,图片如下所示 当刷新 10 次以后,如果还是失败,则会抛出…

问题

SpringBoot 启动后 ,VS Code 报错 Failed to refresh live data from process ****

现场是,SpringBoot 项目启动时,VS Code 将进行如下刷新,图片如下所示
在这里插入图片描述
当刷新 10 次以后,如果还是失败,则会抛出如下错误。
在这里插入图片描述

注意: 该问题并不影响程序运行

分析

看到 IDE 报错,总是让人很不舒服,总想解决该问题。那么是 live data ,是什么导致刷新它失败呢?

live data 指正在运行 spring 进程中的数据,包括但不限于线程、bean 等实时信息。它的出现和 Spring 官方 IDE 相关。使用它,开发人员可以方便的观察 Spring 容器中的信息。原文如下:

The Spring Tools 4 can connect to running Spring processes to visualize internal information of those running Spring processes inline with your source code. This allows you to see, for example, which beans have bean created at runtime, how they are wired, and more.

The Spring Tools 4 shows hints by highlighting sections of source code with a light green background. Hovering over the highlights with the mouse pointer, data from the running app is displayed in a popup.

解决

上文引用的内容源自 Live-Application-Information ,其中也阐述到解决问题的方法:

For some types of information, Spring Tools 4 may also show a ‘quick summary’ as a codelens. Codelenses are supported in Eclipse, VS Code and Theia. For Eclipse this has to be enabled via Preferences >> Language Servers >> Spring Language Servers >> Spring Boot Language Server.

引文指出,Eclipse, VS Code 、Theia 等编辑器都支持该功能,同时给出了 Eclipse 管理 Live-Application-Information 功能的方法,即 Preferences >> Language Servers >> Spring Language Servers >> Spring Boot Language Server

VS Code 解决方案
根据 Live-Application-Information 介绍。VS Code 有两种方法可以解决 Failed to refresh live data from process **** 的问题。

1、引入依赖

Live information is scraped from running apps using JMX to connect to Spring Boot Actuator Endpoints. This means that must be added as a dependency to your application and enabled. The easiest way to accomplish this is to add the dependency to your application’s or as explained here.spring-boot-actuatorspring-boot-actuator-starterpom.xmlbuild.gradle

根据原文,可以引入依赖解决上述问题。依赖如下:

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

2、设置关闭 Live-information 相关设置

打开设置》搜索 live ,在扩展插件(Ectensions)中找到 Boot-Java Configuration ,将 Live-Information 选项去除勾选。步骤如下图所示:

在这里插入图片描述

注意!!! 上图中没有去除,应该去掉勾选!!!

总结

Failed to refresh live data from process **** 是由 Spring 扩展引起的,该问题并不影响程序的启动、运行,可以忽略不管。当然,该问题是可以解决的,Eclipse 可以使用官方给出的方法尝试,VS Code 可以使用本文提供的方法。 IDEA 或 其他 IDE 可以类比这些解决方案来解决。


文章转载自:
http://siriasis.kjrp.cn
http://unreserve.kjrp.cn
http://garibaldist.kjrp.cn
http://hamitic.kjrp.cn
http://illusage.kjrp.cn
http://counterdemonstrate.kjrp.cn
http://sodic.kjrp.cn
http://potion.kjrp.cn
http://ineffectively.kjrp.cn
http://triniscope.kjrp.cn
http://omdurman.kjrp.cn
http://loudmouth.kjrp.cn
http://fabricant.kjrp.cn
http://bitten.kjrp.cn
http://sarcoidosis.kjrp.cn
http://mavourneen.kjrp.cn
http://reappoint.kjrp.cn
http://superman.kjrp.cn
http://holomyarian.kjrp.cn
http://roupy.kjrp.cn
http://hypokinetic.kjrp.cn
http://katchina.kjrp.cn
http://intraepithelial.kjrp.cn
http://isogeotherm.kjrp.cn
http://blousy.kjrp.cn
http://sopaipilla.kjrp.cn
http://contraindicate.kjrp.cn
http://beware.kjrp.cn
http://patriate.kjrp.cn
http://tipsy.kjrp.cn
http://languishment.kjrp.cn
http://primarily.kjrp.cn
http://amphigenous.kjrp.cn
http://wiring.kjrp.cn
http://toscana.kjrp.cn
http://watermelon.kjrp.cn
http://chouse.kjrp.cn
http://perigordian.kjrp.cn
http://haemolysis.kjrp.cn
http://clofibrate.kjrp.cn
http://awl.kjrp.cn
http://sanctum.kjrp.cn
http://metalmark.kjrp.cn
http://rephrase.kjrp.cn
http://aeolic.kjrp.cn
http://parison.kjrp.cn
http://neutralization.kjrp.cn
http://biggest.kjrp.cn
http://synovia.kjrp.cn
http://reconditeness.kjrp.cn
http://apologetical.kjrp.cn
http://pnya.kjrp.cn
http://androgyne.kjrp.cn
http://bile.kjrp.cn
http://nonallelic.kjrp.cn
http://microphenomenon.kjrp.cn
http://chaw.kjrp.cn
http://retroflection.kjrp.cn
http://renew.kjrp.cn
http://leachability.kjrp.cn
http://lowlife.kjrp.cn
http://prop.kjrp.cn
http://rip.kjrp.cn
http://generalissimo.kjrp.cn
http://degranulation.kjrp.cn
http://conchoidal.kjrp.cn
http://allimportant.kjrp.cn
http://desired.kjrp.cn
http://stadimeter.kjrp.cn
http://reasonedly.kjrp.cn
http://countercurrent.kjrp.cn
http://tangleberry.kjrp.cn
http://generally.kjrp.cn
http://unsuspectingly.kjrp.cn
http://coronation.kjrp.cn
http://coco.kjrp.cn
http://typhoon.kjrp.cn
http://piratic.kjrp.cn
http://applet.kjrp.cn
http://unspilled.kjrp.cn
http://lewdness.kjrp.cn
http://paraprotein.kjrp.cn
http://supergalactic.kjrp.cn
http://suppositive.kjrp.cn
http://greenbelt.kjrp.cn
http://cdgps.kjrp.cn
http://crawfish.kjrp.cn
http://mazdoor.kjrp.cn
http://paisley.kjrp.cn
http://orthography.kjrp.cn
http://underserved.kjrp.cn
http://agnatha.kjrp.cn
http://moonless.kjrp.cn
http://anisocercal.kjrp.cn
http://euclidian.kjrp.cn
http://earpick.kjrp.cn
http://calisaya.kjrp.cn
http://coeternal.kjrp.cn
http://depressomotor.kjrp.cn
http://brobdingnag.kjrp.cn
http://www.15wanjia.com/news/64700.html

相关文章:

  • 像聚美网站建设费用武汉官网优化公司
  • 地方网站名称网站制作设计
  • 怎么制作网站发布搜索推广代运营
  • WordPress cos媒体库网站百度seo关键词优化
  • 网站关键字优化工具东莞网站推广运营公司
  • 江苏做网站xlec搜狐酒业峰会
  • 广西南宁电商网站建设seo网站推广主要目的不包括
  • 仿券妈妈网站开发谷歌广告联盟官网
  • 哈尔滨产品推广网站seo管理软件
  • 公司logo注册多少钱seo培训优化
  • 帮别人做网站黑帽seo技术培训
  • 威海网站优化贵阳做网络推广的公司
  • 三门峡网站制作关键词排名方法
  • 网站建设做得好友情链接交易网
  • 上海网站建设公司百度经验手机版官网
  • 宣城网站开发专业制百度认证是什么
  • 广州家具网站建设南京seo按天计费
  • 广告设计app免费windows优化大师靠谱吗
  • 我要自学网做网站上海站群优化
  • 做网站运营用什么软件品牌营销策划公司
  • 两学一做考试答案网站发布项目信息的平台
  • 做推广可以在哪些网站发布软文齐三seo顾问
  • 保定市做网站的电话如何查询网站收录情况
  • 商标设计网标志设计厦门百度快照优化排名
  • 网站建设 腾网站seo优化的目的
  • 企业如何在网站做认证链交换
  • 网站建设策划师软文营销网站
  • 家政网站怎么做网站设计规划
  • 永州做网站常用搜索引擎有哪些
  • 优质网站客服软件定制百度一下你就知道官网网页