- 博客(168)
- 资源 (7)
- 收藏
- 关注
原创 windows10使用python引入faiss报DLL load failed while importing _swigfaiss: 找不到指定的模块
如果按官方的装法是无法引入的,下面是官方的安装方法。
2023-07-04 09:30:14 1108
原创 vue动态加载某个目录的JS文件并解析JS文件的函数形成数组
给定某个目录,把目录下的js文件筛选出来,然后动态解析并得到JS文件里面的函数。使用webpack的require.context即可。
2023-03-15 11:05:46 938
原创 SpringBoot使用Swagger3出现Unable to infer base url.This is common when using dynamic servlet
在spring boot中使用Swagger3,当访问http://localhost:8080/swagger-ui/index.html时报【可以通过在RestControllerAdvice的注解上指定转换项目包,不转换swagger的。出现这个弹窗的原因是swagger接口返回的数据格式和期望的不一致,可以使用。查看返回的格式,很明显是不符合swagger的数据要求。造成这个结果的原因是项目加了统一结果转换,如下。
2022-12-27 15:43:30 1558
原创 RocketMQ 4.9.4使用(二)部署运维界面rocketmq-dashboard
部署RockerMQ运维界面rocketmq-dashboard
2022-08-25 18:07:03 1838
原创 spring cloud与spring boot版本关系
spring cloud发布日期spring boot2021.0.12022/02/182.6.32021.0.02021/12/022.6.12020.0.52021/12/162.4.132020.0.42021/09/232.4.102020.0.32021/05/282.4.62020.0.22021/03/182.4.32020.0.12021/01/282.4.22020.0.02020/12/22...
2022-02-20 18:57:34 572
原创 数据库连接池Druid配置和使用
druid配置信息配置默认值说明name配置这个属性的意义在于,如果存在多个数据源,监控的时候可以通过名字来区分开来。如果没有配置,将会生成一个名字,格式是:“DataSource-” + System.identityHashCode(this)jdbcUrl连接数据库的urlusername连接数据库的用户名password连接数据库的...
2021-12-23 19:02:32 6847
原创 集成spring-boot-admin(二)搭建admin-client
1、在需要接入的spring boot应用上加入以下依赖<!-- spring-boot-admin-client --><dependency> <groupId>de.codecentric</groupId> <artifactId>spring-boot-admin-starter-client</artifactId> <version>2.3.1</version><
2021-11-05 14:23:53 3810
原创 集成spring-boot-admin(一)搭建admin-server
1、什么是SBASBA全称为Spring Boot Admin,是一个管理和监控Spring Boot应用程序的开源项目。分为admin-server 与 admin-client 两个组件,admin-server是一个单独的微服务,通过采集actuator端点数据,显示在spring-boot-admin-ui上,客户端就是我们的spring boot应用。已知的端点几乎都有进行采集,通过 spring-boot-admin可以动态切换日志级别、导出日志、导出heapdump、监控各项指标等等。Gi
2021-11-04 17:11:30 4618 5
原创 spring-boot-admin与spring-boot和spring-cloud版本关系
先看下目前maven仓库的版本(截止到2021-11-04)spring-boot-adminspring-bootspring cloud对应关系spring-boot-adminspring-bootspring-cloud2.5.12.5.42.5.02.5.22.4.42.5.22.4.22.4.62.4.12.4.32020.0.12.4.02.4.02.3.12.3.3.RELEASE2.
2021-11-04 17:10:02 3347 2
原创 windows10安装和使用heartbeat-7.15.0来监测服务的可用性
官方文档https://www.elastic.co/guide/en/beats/heartbeat/current/index.html官方教程https://www.elastic.co/guide/en/beats/heartbeat/current/heartbeat-installation-configuration.html1、下载Heartbeathttps://www.elastic.co/cn/downloads/beats/heartbeat2、安装cd D:\ELK\
2021-10-14 14:02:20 546
原创 ElasticSearch7.15.0使用X-Pack设置访问密码
本文主要讲解通过启用X-Pack来设置ElasticSearch的访问密码集群与单据环境设置区别集群需要在某一台生成证书然后拷贝到其它节点目录下集群环境重设密码的时候需要整个集群节点都已启动,可在任一台处修改官方教程:https://www.elastic.co/guide/en/elasticsearch/reference/current/security-basic-setup.html#encrypt-internode-communication详细配置:https://www.el
2021-10-14 09:57:15 3971
原创 windows 10使用metricbeat 7.15收集性能指标数据
1、安装 Metricbeat官方教程:https://www.elastic.co/guide/en/beats/metricbeat/7.15/metricbeat-installation-configuration.html1.1、官网下载Metricbeat1.2、解压后,按以下命令安装# 进入安装目录,执行install-service-metricbeat.ps1PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-
2021-10-14 09:55:57 907
原创 window 10安装和使用Elastic APM Server
官方文档:https://www.elastic.co/guide/en/apm/server/current/index.html1、下载APM Server2、安装APM Server官方安装教程:https://www.elastic.co/guide/en/apm/server/current/installing.html# 进入安装目录,管理员权限安装APM Server服务,会开机启动cd D:\ELK\apm-server-7.15.0PowerShell.exe -Execut
2021-10-14 09:54:18 1191
原创 windows 10配置kibana7.15 + filebeat日志收集
1、下载Filebeat2、解压并执行以下命令安装cd D:\ELK\filebeat-7.15.0PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1Status Name DisplayName------ ---- -----------Stopped filebeat filebeat3、
2021-10-13 14:00:40 1666
原创 使用Jedis模糊删除redis集群key
直接上代码/** * 通过scan模糊删除 * @param pattern * @return */public Long delScan(String pattern) { long count = 0; if (StringUtils.isNotBlank(pattern)) { Jedis jds = null; JedisCluster jedisCluster = null; String key = patt
2021-08-24 16:18:40 1620
原创 eclipse从git上clone java maven项目
背景因为项目开发工具不同,所以在把代码提交到git时是不能把工具属性提交的,如eclipse的.project文件,idea的.iml文件。那么在导出项目的时候就要注意了,idea会自动识别,但是eclipse如果操作不当,就会出现项目不可用,自动代码提示时报【This compilation unit is not on the build path of java project】的错误。Git的项目如下配置eclipse项目环境(已配则忽略)导入eclipse打开eclipse,File
2021-08-10 17:02:52 671
原创 eclipse Java项目常用配置
eclipse版本为2021-06打开eclipse,点【Windows】- 【Preferences】配置字体大小【General】-【Appearance】-【Colors and fonts】-【Basic】-【Text Font】去掉打印分屏线去掉前,在编辑区有一条分屏坚线去掉方法:【General】-【Editors】-【Text Editors】,去掉【Show print margin】即可配置项目编码【General】-【Workspace】-【Text file
2021-08-10 17:01:51 1576
原创 vue弹窗引用另一个页面窗口
需求:在一个主页面A.vue上点击按钮时弹出一个窗口,该窗口的定义在B.vue,比如修改,需要从A.vue传参到B.vue,修改完成后,刷新A.vue.实现页面定义,有2个文件,在index.vue上有个【修改】按钮,点击弹出testDialog.vue定义的窗口,如下testDialog.vue<template> <!-- 添加或修改业务对话框 --> <el-dialog :title="title" :visible.sync="open" width
2021-08-10 11:29:23 12639 4
原创 修改Maven默认的JDK版本
Maven默认的JDK版本是1.5,可以通过以下2种方式修改1、全局修改a) 找到maven目录下的conf/settings.xml文件,在<profiles></profiles>之间增加以下内容 <profile> <id>jdk-1.8</id> <activation> <activeB...
2021-08-10 10:52:33 3773 1
原创 Fastjson泛型数据转JSON及还原,保留原始类型
1、问题最近有个需求,数据是保存在一个Map<String, Object>中,使用Fastjson转为json字符串后保存到数据库,要用的时候从数据库取出来然后还原。示例代码如下package com.moss.json;import java.sql.Timestamp;import java.util.HashMap;import java.util.Map;import java.util.UUID;import com.alibaba.fastjson.JSON;
2021-07-08 11:33:50 2226 1
原创 spring boot各版本相关特性
主版本官方文档发布日志发布日期中文参考迭代版本相关特性Spring Boot 2.5.0spring-boot-2-5-is-now-gaSpring-Boot-2.5-Release-Notes2021/05/20Spring Boot 2.5.0火热发布abcSpring Boot 2.4.0spring-boot-2-4-0-available-nowSpring-Boot-2.4-Release-Notes2020/11/12spring boot...
2021-05-30 20:48:31 1277
原创 Spring Boot 1.5.x.RELEASE相关特性
版本官方文档发布日志发布日期1.5.22.RELEASEit-is-time-goodbye-spring-boot-1-xv1.5.22.RELEASE2019/08/061.5.21.RELEASEspring-boot-1-5-21-available-nowv1.5.21.RELEASE2019/05/141.5.20.RELEASEspring-boot-1-5-20-available-nowv1.5.20.RELEASE2019/04/03...
2021-05-30 19:21:08 302
原创 Spring Boot 2.0.x.RELEASE相关特性
版本官方文档发布日志发布日期2.0.9.RELEASEspring-boot-2-0-9-releasedv2.0.9.RELEASE2019/04/032.0.8.RELEASEspring-boot-2-0-8-releasedv2.0.8.RELEASE2019/01/112.0.7.RELEASEspring-boot-2-0-7-available-nowv2.0.7.RELEASE2018/11/302.0.6.RELEASEspri...
2021-05-30 18:44:17 170
原创 Spring Boot 2.1.x.RELEASE相关特性
持续更新。。。。未完待续版本官方文档发布日志发布日期2.1.18.RELEASEspring-boot-2-1-18-available-nowv2.1.18.RELEASE2020/10/292.1.17.RELEASEspring-boot-2-1-17-available-nowv2.1.17.RELEASE2020/09/172.1.16.RELEASEspring-boot-2-1-16-available-nowv2.1.16.RELEASE
2021-05-30 18:32:03 216
原创 Spring Boot 2.4.x.RELEASE相关特性
持续更新。。。。未完待续版本官方文档发布日志发布日期2.4.6spring-boot-2-4-6-available-nowv2.4.62021/05/202.4.5spring-boot-2-4-5-available-nowv2.4.52021/04/152.4.4spring-boot-2-4-4-available-nowv2.4.42021/03/182.4.3spring-boot-2-4-3-is-now-availablev2
2021-05-30 18:07:30 388
原创 Spring Boot 2.3.x.RELEASE相关特性
持续更新。。。。未完待续版本官方文档发布日志发布日期2.3.11.RELEASEspring-boot-2-3-11-available-nowv2.3.11.RELEASE2021/05/202.3.10.RELEASEspring-boot-2-3-10-is-now-availablev2.3.10.RELEASE2021/04/152.3.9.RELEASEspring-boot-2-3-9-is-now-availablev2.3.9.RELE
2021-05-30 17:58:16 318
原创 Spring Boot 2.2.x.RELEASE相关特性
持续更新。。。。未完待续版本官方文档发布日志发布日期2.2.13.RELEASEspring-boot-2-2-13-available-nowv2.2.13.RELEASE2021/01/142.2.12.RELEASEspring-boot-2-2-12-available-nowv2.2.12.RELEASE2020/12/102.2.11.RELEASEspring-boot-2-2-11-available-nowv2.2.11.RELEASE
2021-05-30 17:19:42 360
原创 Skywalking8.5.0 启用自监控(SelfObservability)
一、背景skywalking支持遥测技术(telemetry),既可以分析别人,又可以自身被分析,见UI二、开启方法1、修改config/application.yml文件telemetry配置,如下prometheus-fetcher: selector: ${SW_PROMETHEUS_FETCHER:default} # 改为default default: enabledRules: ${SW_PROMETHEUS_FETCHER_ENABLED_RULES:"self"}
2021-05-28 10:14:26 2119
智慧城市云计算大数据中心项目深化设计方案
2024-01-12
NUC Auto产品-DevOps运维自动化概念、平台、设计与案例(优维科技 王津银)发布会PDF
2023-10-07
ChatGLM2-6B安装使用教程
2023-10-07
PDF全能工具箱包含十几种功能
2023-10-07
SSM项目CRUD实战项目
2018-11-21
中文版Android程序员向导.doc
2011-10-22
Java笔试题目汇总
2011-10-22
JAVA编写打印空心菱形
2009-10-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人