自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 nginx代理报错502 Bad Gateway nginx

因此需要配置proxy_http_version 1.1,proxy_set_header Connection默认close:通知后端服务器主动关闭连接,这样会导致任何一个客户端的请求都在后端服务器上产生了一个TIME-WAIT状态的连接。tomcat默认采用的协议为 HTTP/1.1,而nginx默认用的是 HTTP/1.0。而HTTP/1.0是不支持keepalive,这样就不能保持活跃连接了。项目的图层服务nginx代理,我是这么配置的。从上游读取响应头时,上游提前关闭连接。

2024-07-08 15:11:10 197

原创 MySQL如何查询根据某一条件分组,再查询出每组数据中时间最早或最晚的数据

MySQL如何查询根据某一条件分组,再查询出每组数据中时间最早或最晚的数据

2024-03-04 17:25:47 881

原创 BigDecimal进行除法运算报错:ArithmeticException: Non-terminating decimal expansion; no exact representable de

BigDecimal进行除法运算报错:ArithmeticException: Non-terminating decimal expansion; no exact representable de

2024-02-04 17:03:37 812

原创 Jenkins升级后,构建任务配置界面重复错位

Jenkins升级后,构建任务配置界面重复错位

2024-02-04 16:56:31 1202

原创 Jenkins升级后启动报错Exception in thread “main“ java.lang.IllegalArgumentException: Unrecognized option: --

Jenkins升级后启动报错Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized option

2024-02-04 16:49:08 1101

原创 docker 下载镜像,将tar包加载为镜像,给镜像打标签,启动容器...一篇文章搞定

docker 下载镜像,将tar包加载为镜像,给镜像打标签,启动容器...一篇文章搞定

2023-06-05 17:27:20 3029

原创 如何查看已启动docker容器占用端口列表

【代码】如何查看已启动docker容器占用端口列表。

2023-05-16 09:59:00 2184

原创 pom文件的project标签报错java.lang.OutOfMemoryError: GC overhead limit exceeded

只需修改idea配置。

2023-05-06 10:58:24 694

原创 Jenkins构建服务无法找到本地仓库新添加的jar包,报错:Could not transfer artifact ... from/to spring-milestones

Jenkins构建服务无法找到本地仓库新添加的jar包,报错:Could not transfer artifact ... from/to spring-milestones

2023-03-24 10:33:22 1682

原创 JSON parse error: Unexpected character (‘ï‘ (code 239)): was expecting comma to separate Array entri

JSON parse error: Unexpected character ('ï' (code 239)): was expecting comma to separate Array entries;

2023-02-14 14:42:45 384

原创 Jenkins执行shell脚本报错:bash: kubectl: command not found

Jenkins执行shell脚本报错:bash: kubectl: command not found

2022-12-07 11:12:18 4172

原创 nacos下线服务报错:caused: errCode: 500, errMsg: do metadata operation failed ;caused: com.alibaba.nacos.co

caused: errCode: 500, errMsg: do metadata operation failed ;caused: com.alibaba.nacos.consistency.exception.ConsistencyException: The Raft Group [naming_instance_metadata] did not find the Leader node;caused: The Raft Group [naming_instance_metadata] did n

2022-12-06 09:59:32 7843 4

原创 ‘TCP port for inbound agents‘ is disabled in Global Security settings. Connecting Kubernetes agents

'TCP port for inbound agents' is disabled in Global Security settings. Connecting Kubernetes agents will not work without this or WebSocket mode!

2022-12-05 15:25:18 840

原创 Linux如何安装使用pkgdiff

Linux如何安装使用pkgdiff

2022-12-02 17:30:06 632

原创 Jenkins构建服务,Dockerfile报错:manifest for java:8-jre not found: manifest unknown: manifest unknown

manifest for java:8-jre not found: manifest unknown: manifest unknown

2022-11-29 09:43:13 5986

原创 Jenkins执行shell脚本报错:docker: command not found

bash: docker: command not found

2022-11-28 15:09:01 4652

原创 服务打包,报错无法删除target目录:Failed to delete E:....\target\classes\ip2region\ip2region.db -> [Help 1]

Failed to delete E:\code\cms-framework\cms-oauth\oauth-server\target\classes\ip2region\ip2region.db -> [Help 1]

2022-11-23 15:44:29 1651

原创 Jenkins踩坑:Failed to connect to repository : Error performing git command: git ls-remote -h http://17

Failed to connect to repository : Error performing git command: git ls-remote -h http://.....git HEAD

2022-11-22 14:36:54 3671

原创 Jenkins安装踩坑:Job for jenkins.service failed because the control process exited with error code. See “

Jenkins requires Java versions [17, 11] but you are running with Java 1.8 from /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/jre

2022-11-18 17:33:47 3251

原创 This Jenkins instance uses deprecated protocols: JNLP3-connect. It may impact stability of the insta

This Jenkins instance uses deprecated protocols: JNLP3-connect. It may impact stability of the instance. If newer protocol versions are supported by all system components (agents, CLI and other clients), it is highly recommended to disable the deprecated

2022-11-18 15:20:26 190

原创 The dependencies of some of the beans in the application context form a cycle

循环引用The dependencies of some of the beans in the application context form a cycle:

2022-11-09 16:33:36 626

原创 MinIO踩坑:javax.xml.stream.xmlstreamexception: parseerror at [row,col]:[1,3] message:文档中根元素前面的标记必须格式正确

MinIO踩坑:javax.xml.stream.xmlstreamexception: parseerror at [row,col]:[1,3] message:文档中根元素前面的标记必须格式正确

2022-10-27 11:13:12 1389

原创 Redis无法使用IP链接,只能通过localhost/127.0.0.1链接

Redis无法使用IP链接,只能通过localhost/127.0.0.1链接

2022-09-22 17:00:25 2893

原创 rabbitMQ登录报错user can only log in via localhost

rabbitMQ登录报错user can only log in via localhost

2022-09-22 16:32:07 9321

原创 idea打开项目,不显示代码文件夹目录如何解决

idea打开项目,不显示代码文件夹目录如何解决

2022-09-18 17:57:38 24717 1

原创 Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibat

Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.....entity.Attachment'. Cause: java.lang.ClassNotFoundException: Cannot find class: com.....file.e

2022-09-15 10:54:04 1332

原创 UnsatisfiedDependencyException: Error creating bean with name......

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'injectionController' defined in file [...InjectionController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.

2022-09-15 10:00:38 8408

原创 Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or us

Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed

2022-08-31 15:30:48 9104

原创 Job for jenkins.service failed because the control process exited with error code. See “systemctl st

Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.

2022-08-25 20:04:35 1441

原创 最全的项目部署+持续集成解决方案:Jenkins + git + docker

最全的项目部署+持续集成解决方案:Jenkins + git + docker

2022-08-24 16:59:47 4552

原创 kafka stream实现实时流式计算以及springboot集成kafka stream

kafka stream实现实时流式计算以及springboot集成kafka stream

2022-08-18 16:05:34 2969 2

原创 xxl-job分布式任务调度框架安装及入门教学

xxl-job分布式任务调度框架安装及入门教学

2022-08-17 16:47:26 500

原创 Redis实现分布式锁:setnx

Redis实现分布式锁:setnx

2022-08-11 17:00:01 2269

原创 如何实现延迟任务?

如何实现延迟任务

2022-08-11 16:22:04 566

原创 java如何实现识别图片上的文字

java如何实现识别图片上的文字

2022-08-10 10:30:27 18921 12

原创 java如何实现文本的敏感词过滤功能

如何实现敏感词过滤功能

2022-08-09 17:19:28 2126

原创 本地搭建minIO文件存储服务以及springboot整合MinIO提供文件存储服务

本地搭建minIO文件存储服务以及springboot整合MinIO提供文件存储服务

2022-08-05 16:50:46 3478

原创 kafka入门及springboot集成kafka

kafka入门及springboot集成kafka

2022-08-03 15:44:28 850

原创 详细解读:反射的用法

反射是一种机制,利用该机制可以在程序运行过程中对类进行解剖并操作类中的所有成员(成员变量,成员方法,构造方法);使用反射的前提是要获得该类字节码文件对象,就是Class对象。

2022-07-19 16:15:48 364

原创 如何写一个自定义注解

自定义注解

2022-07-17 17:06:14 1551

空空如也

空空如也

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

TA关注的人

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