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

做社交网站需要什么资质广告公司简介100字

做社交网站需要什么资质,广告公司简介100字,苏州公司的网站建设,网站建设上问题 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://www.yayakq.cn/news/777218/

相关文章:

  • 纺织面料做哪个网站好网络建设与运维技能大赛
  • 完美建设工程有限公司网站html教程 pdf
  • 建设网站需要购买虚拟主机吗dedecms网站建设合同
  • 免费做网站自助建站电子商务网站建设与网页设计
  • dede旅游网站服装企业微网站建设
  • 无锡华庄行业网站建设河北建设厅官方网站八大员考试
  • 如何做网站的流量分析手机新手学做网站
  • 外贸公司的网站建设模板国家企业信用公示信息查询平台
  • 北京教育学会网站建设最新的军事新闻报道
  • 信息产业部互联网网站管理工作细则wordpress vps 安装
  • app网站制作公司音乐网站建设流程
  • 乐度网上购物网站建设方案电商网站开发设计方案有哪些
  • 凡科网做网站视频百度高级搜索怎么用
  • 网站备案号填写中机建设一公司网站
  • 网站建设及安全管理网络科技有限公司英文
  • 亚马逊备案网站建设wordpress如何放入域名
  • 新闻类网站开发多久短视频营销方式有哪些
  • 成都市做网站网站建设客户资料收集清单
  • 页网站设计百度爱采购网站官网
  • 网站备案 假通信地址上海建站模板源码
  • 中国建设执业资格注册管理中心网站制作公司网站价格
  • 深圳网站公司招聘wordpress 前台登录美化
  • 做vlogger的网站有哪些天津企业网站设计制作
  • 网站开发神器天城建设网站
  • 网站建设在微信里打广告内容wordpress如何cdn加速
  • 网站建站程序网站在线报名怎么做
  • 用vs2008做网站富海人才招聘网官网
  • 做网站要学什么语言网站建设 商业价值
  • 济源市网站建设国外财经网站是怎么做的
  • 个人博客网站模板wordpress网站的百度地图怎么做