自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(44)
  • 收藏
  • 关注

原创 No operator matches the given name and argument types

mybatis,postgresql

2022-12-01 11:17:43 1720 1

原创 报错no native library is found for os.name=Mac and os.arch=aarch64

kafka,报错信息

2022-07-10 16:41:28 2844

原创 Error: Node Sass does not yet support your current environment

node-sass报错,m1芯片

2022-06-13 18:47:15 523

原创 Failed to start Docker Application Container Engine.

Failed to start Docker Application Container Engine.今天突然发现docker暂停了,启动不起来,文字描述如下:[root@hfwas /]# docker ps Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?[root@hfwas /]# [root@hfwas /]# [root@hfwas /]

2022-04-22 23:23:25 2127

原创 /var/lib/mlocate/mlocate.db‘: 没有那个文件或目录

/var/lib/mlocate/mlocate.db’: 没有那个文件或目录问题描述:[root@iZ2zedmogg3f7zrbhi2pdaZ /]# locate /datalocate: 无法执行 stat () `/var/lib/mlocate/mlocate.db': 没有那个文件或目录问题截图:问题解决:updatedb解决截图:参考链接https://askubuntu.com/questions/800347/cant-locate-a-directory-u

2022-04-11 22:26:32 848

原创 java.lang.NullPointerException.element.cannot.be.mapped.to.a-null-key

NullPointerException: element cannot be mapped to a null key详细报错信息:java.lang.NullPointerException: element cannot be mapped to a null key at java.util.Objects.requireNonNull(Objects.java:228) at java.util.stream.Collectors.lambda$groupingBy$45(Collecto

2022-04-02 18:32:58 1577

原创 BeanDefinitionParsingException: Configuration problem: A circular @Import has been detected

BeanDefinitionParsingException: Configuration problem: A circular @Import has been detected报错摘要:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: A circular @Import has been detected: Illegal attempt by @Con

2022-04-02 18:24:59 8930 1

原创 内网安装docker环境

内网安装docker环境在为期两天的部署过程当中遇到的一些问题和docker环境的部署的记录防火墙切记:首先关闭防火墙,不然容器访问会报错,血的教训!!!执行systemctl stop firewalld永久禁用防火墙,执行systemctl disable firewalld如果是先安装的docker,再停止防火墙,切记要重启docker!!!!,执行systemctl restart docker离线 - 内网环境从https://download.docker.com/l

2022-04-02 01:25:16 2901 1

原创 00-Spring相关类图

00-Spring相关类图GitHub地址:https://github.com/HFwas主要是 notes仓库下Spring文件夹和spring-framework仓库的hfwas分支文章目录00-Spring相关类图容器加载相关类图配置文件读取相关类图资源文件处理相关类图资源加载相关类图Bean信息相关类图参考资料容器加载相关类图上图分析:AliasRegistry:定义对alias的简单增删改等操作SimpleAliasRegistry:主要使用map作为alias的缓存,并

2022-03-20 02:04:27 1126 1

原创 ExceptionUtils

ExceptionUtils工具类的使用描述该类属于org.apache.commons.lang3.exception.ExceptionUtils通过传入的Throwable对象,进而获取详细的错误信息。包括:错误的原因错误的堆栈信息报错的根原因错误的根消息错误的数量等等通过ExceptionUtils,我们可以拿到程序报错的详细信息,同步到日志库当中,不用我们手动区编写代码抽取日志报错信息方法getMessage(throwable);获取错误信息get

2022-03-19 23:27:37 1362

原创 浏览器输入URL发生了什么?

浏览器输入URL发生了什么?测试环境macOS系统wireshark抓包工具google chrome浏览器抓包信息大概流程输入Baidu.com,DNS解析Baidu.com的IP地址TCP建立三次握手建立和服务器的加密通信SSL/TLS传输数据TCP四次挥手详细分析输入Baidu.com,DNS解析baidu.com的IP地址wireshark截图当中的19-22号包192.168.101.35是我电脑的IP地址,192.168.101.1是我电

2022-03-13 17:03:15 4435

原创 wireshark05-nfs协议unmount

Wireshark05-nfs协议-unmout过程文章目录Wireshark05-nfs协议-unmout过程抓包图总流程详细步骤抓包图总流程获取挂载端口返回挂载端口尝试挂载返回挂载结果卸载NAS共享路径返回卸载信息详细步骤客户端4号包:获取挂载端口服务端5号包:返回挂载端口,端口是10048客户端6号包:尝试挂载,响应包是7号包服务端7号包:返回挂载结果,请求包是6号包客户端8号包:卸载NAS共享路径,共享路径是/XXX服务端9号包:返回卸载信息...

2022-03-11 22:05:44 322

原创 2022-03-10-wireshark03-nfs协议挂载

Wireshark03-nfs协议挂载文章目录Wireshark03-nfs协议挂载nas挂载抓包nas挂载流程分步详细讲解nas挂载抓包nas挂载流程客户端请求端口地址服务端返回端口客户端尝试连接服务端返回连接信息客户端请求挂载端口服务端返回挂载端口客户端尝试挂载服务端返回挂载信息客户端尝试挂载共享地址服务端返回共享地址挂载情况客户端请求文件信息服务端返回文件信息分步详细讲解客户端4号包:我想连接NFS进程,应该使用那个那个端口?服务端6号包:返回端口,端口是2

2022-03-11 22:04:01 246

原创 Unknown collation: ‘utf8mb4_0900_ai_ci‘

报错信息[SQL] Query bpm-flowable start[ERR] 1273 - Unknown collation: 'utf8mb4_0900_ai_ci'[ERR] CREATE TABLE `ACT_RU_HISTORY_JOB` ( `ID_` varchar(64) COLLATE utf8_bin NOT NULL, `REV_` int DEFAULT NULL, `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,

2022-03-07 23:56:53 562

原创 No primary or single public constructor found for interface java.util.List

具体报错信息:java.lang.IllegalStateException: No primary or single public constructor found for interface java.util.List - and no default constructor found either at org.springframework.beans.BeanUtils.getResolvableConstructor(BeanUtils.java:250) at org.sprin

2022-03-07 17:12:39 17987

原创 Error in v-on handler: “TypeError: Invalid attempt to spread non-iterable instance

报错如下谷歌浏览器控制台报错信息:vue.esm.js?a026:628 [Vue warn]: Error in v-on handler: "TypeError: Invalid attempt to spread non-iterable instance.In order to be iterable, non-array objects must have a [Symbol.iterator]() method."found in---> <ElButton> a

2022-03-03 16:03:04 9704 2

原创 wireshark02-抓包与四次挥手分析

wireshark抓包与四次挥手分析四次挥手流程图总的流程解释如下:客户端想要关闭连接,发送一个标志位FIN置1的报文,之后客户端进入FIN-WAIT1状态。服务端收到该报文之后,发送一个标志位ACK置1的报文,状态由ESTAB-LISHED转变为CLOSE-WAIT状态,服务端此时还可以继续传输数据。客户端收到服务端的ACK请求后,状态由FIN-WAIT1状态转变为FIN-WAIT2状态。服务端没有数据想要发送,想要关闭连接,发送一个标志位FIN置1而且ACK置1的报文,状态由CLOSE-

2022-03-01 20:32:55 735

原创 wireshark00-抓包分析

wireshark抓包分析使用工具wiresharkpostmanpostman测试测试接口地址为:http://39.98.123.211/api/product/getBaseCategoryList完整的curl为:curl --location --request GET 'http://39.98.123.211/api/product/getBaseCategoryList' \--header 'token: d90aa16f24d04c7d882051412f9ec4

2022-03-01 19:57:01 2776

原创 wireshark01-抓包,三次握手

wireshark01-抓包,三次握手计算机网络体系结构OSI的体系结构TCP/IP的协议结构五层协议的体系结构总体截图:三次握手的流程图第一次握手截图解释,并介绍第一次握手:第一次握手,客户端发起请求,SYN报文段置1,序号=x,也就是上述截图的sequence number = 0第一次握手,客户端状态由CLOSEDS状态转变为SYN-SENT同步发送状态。服务端状态也转变为LISTEN状态第二次握手截图解释,并介绍第二次握手:第二次握手,服务端报文段S

2022-02-27 15:42:46 428

原创 InvalidConnectionAttributeException: The server time zone value ‘�й���׼ʱ��‘ is unrecognized or repr

InvalidConnectionAttributeException: The server time zone value ‘�й���׼ʱ��’ is unrecognized or repr报错信息如下java.sql.SQLException: The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the se

2022-02-25 10:48:42 929

原创 stack Error: `gyp` failed with exit code: 1

stack Error: gyp failed with exit code: 1详细错误信息gyp: No Xcode or CLT version detected!gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules

2022-02-22 23:12:07 6114

原创 redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required.

报错详细信息:redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required. at redis.clients.jedis.Protocol.processError(Protocol.java:132) at redis.clients.jedis.Protocol.process(Protocol.java:166) at redis.clients.jedis.Protocol.read(P

2022-02-21 23:49:44 855

原创 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

往阿里云服务器上复制文件,显示报错,报错信息如下@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NAS

2022-02-18 21:54:16 387

原创 Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could

Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.报错详细信息Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reas

2022-02-13 23:08:39 1397

原创 org.springframework.amqp.AmqpTimeoutException: java.util.concurrent.TimeoutException

2021-11-27-rabbitmq连接超时报错报错截图:报错文字版:org.springframework.amqp.AmqpTimeoutException: java.util.concurrent.TimeoutException at org.springframework.amqp.rabbit.support.RabbitExceptionTranslator.convertRabbitAccessException(RabbitExceptionTranslator.java:7

2021-11-27 22:21:53 5285

原创 阿里云docker安装rabbitmq并代码测试

阿里云docker安装rabbitmq并代码测试文章目录阿里云docker安装rabbitmq并代码测试拉取镜像镜像列表:启动容器:rabbtimq启动截图:访问页面截图:新添加一个账户新建项目测试新建cloud-stream-rabbitmq-provider8801项目修改POM依赖文件修改配置文件新建主启动类StreamMQMain8801新建消息接口新建实现类新建controller层rabbitma网页端查看postman测试IDEA查看控制台输出rabbitmq查看注意事项:拉取镜像doc

2021-11-27 21:53:23 761

原创 The elements [spring.cloud.gateway.routes[0].predicates[0].path] were left unbound.

报错文字版:Binding to target [Bindable@7a254e9b type = java.util.List<org.springframework.cloud.gateway.handler.predicate.PredicateDefinition>, value = 'provided', annotations = array<Annotation>[@javax.validation.constraints.NotEmpty(message={java

2021-11-24 23:32:11 3031 4

原创 308 Permanent Redirect问题解决

2021-11-17-308 Permanent Redirect问题描述:postman测试接口,数据正常返回,代码当中使用restTemplate调用接口报错,显示308永久的重定向308 Permanent Redirectpostman接口测试接口地址:http://gatewayproxy-jcpt.mwr.cn/suser/getLoginUserListBySysId?sysId=10086postman截图:报错文字版:<head><title>3

2021-11-17 15:11:53 29236 1

原创 阿里云docker安装redis

阿里云docker安装redis我这里使用的是redis的最新版本。拉取redis镜像docker pull redis:6.2.6官网下载redis的压缩包,解压缩。注意:服务器拉取的什么版本redis,就要在官网下载什么版本的redis。可能不同版本的redis的配置文件不同将redis.conf文件复制到服务器上。修改对应配置。文件对应修改内容如下# 注释掉。允许外界访问#bind 127.0.0.1 -::1# 打开持久化存储appendonly yes# 添加密码

2021-11-07 16:50:54 795

原创 阿里云docker安装MySQL

阿里云docker安装MySQL阿里云拉取mysql镜像docker pull mysql:5.7安装MySQL在/data/mysql下,所有的配置文件和数据都存储在这个目录下执行docker image命令查看镜像配置mysql,新建mysql.conf文件[client]default-character-set=utf8[mysql]default-character-set=utf8[mysqld]init_connect='SET collation_connectio

2021-11-07 16:48:39 1038

原创 Sprin中bean的创建过程

Spring源码SpringAOP的源码底层实现都是基于动态代理实现的。IOC源码IOC:ioc是一个容器容器启动的时候创建所有的单实例对象我们可以直接从容器中获取到这个对象SpringIOC:ioc容器的启动过程?启动期间都做了什么?(什么时候创建所有的单实例bean)ioc是如何创建这些单实例bean,并如何管理的,到底保存在了哪里测试代码package com.hfwas;import org.springframework.context.ApplicationC

2021-10-10 18:38:12 106

原创 XmlBeanDefinitionStoreException

XmlBeanDefinitionStoreException错误描述加载xml文件报错,显示SAXParseException解析异常。查询资料可以得到结论,是x m l文件中的格式有异常。多写了字符或者少写了字符。需要检查x m l文件中格式。错误信息:显示xml文件中不能不能包含子级Caused by: org.xml.sax.SAXParseException; lineNumber: 16; columnNumber: 9; cvc-complex-type.2.3: 元素 'beans

2021-10-01 19:37:17 513

原创 从斐波那契数列看算法的重要性

算法的重要性从斐波那契数列的计算过程当中,体会不同算法之间的复杂度差异,使用不同的算法能够给程序运行带来多大的性能提升。斐波那契数列介绍在数学上,斐波那契数是以递归的方法来定义:用文字来说,就是斐波那契数列由0和1开始,之后的斐波那契数就是由之前的两数相加而得出。首几个斐波那契数是:1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377 ,610, 987……特别指出:0不是第一项,而是第零项。代码测试第一种:递归使用常见的递归算法去计算斐

2021-09-11 22:23:08 513

原创 m1安装nodejs

m1安装nodejs文章目录第一步:官网下载nodejs安装包第二步:双击安装包,无脑下一步,终端查看node版本, node -v第三步:安装tyarn,yarn报错信息第一步:官网下载nodejs安装包第二步:双击安装包,无脑下一步,终端查看node版本, node -v第三步:安装tyarn,yarn报错信息如果不加sudo的话,会报错,报错信息如下:...

2021-06-28 01:04:00 3728

原创 m1安装tomcat

m1安装tomcat第一步:在官网下载apache-tomcat,版本看自己喜好第二步:将下载好的压缩文件解压,并复制到自己想要安装的文件夹,我这里安装在 /usr/local/apache-tomcat-9.0.48第三步:配置环境变量 vim ~/.zshrcexport APACHE_TOMCAT=/usr/local/apache-tomcat-9.0.48export PATH=PATH:PATH:PATH:APACHE_TOMCAT/bin第四步:给sh

2021-06-26 14:06:30 3308 2

原创 m1安装maven

m1安装maven官网下载apache-maven,注意下载的版本,配置时候要注意版本注意自己终端是zsh还是bash我的是zsh,所以配置文件是vim ~/.zshrc打开终端,vim ~/.zshrc,在后边添加路径export MAVEN_HOME=/usr/local/apache-maven-3.8.1export PATH=$PATH:$MAVEN_HOME/bin出现以下则显示安装成功...

2021-06-25 01:15:19 1714

原创 m1安装homebreq

m1安装homebrew步骤在homebrew官网找到安装的脚本文件export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.ustc.edu.cn/brew.git"export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.ustc.edu.cn/homebrew-core.git"/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Home

2021-06-25 00:21:27 206

原创 com.alibaba.fastjson.JSONException: expect ‘[’, but int, pos 1, line 1, column 20

错误概况:com.alibaba.fastjson.JSONException: expect ‘[’, but int, pos 1, line 1, column 20错误信息:com.alibaba.fastjson.JSONException: expect '[', but int, pos 1, line 1, column 20 at com.alibaba.fastjson.parser.DefaultJSONParser.parseArray(DefaultJSONParser.j

2021-06-23 18:19:41 12998

原创 解决GitHub不显示提交记录的问题

git config --global user.email “你的邮件地址”git config --global user.name “你的Github用户名”

2021-06-14 14:53:12 837

原创 git push报错OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

文章目录git push报错OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443报错信息:解决办法:git config --global --unset http.proxy报错原因:再次提交:git push报错OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443报错信息:fatal: unable to access ‘h

2021-06-13 20:34:42 477

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除