- 博客(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
888
原创 MySQL如何查询根据某一条件分组,再查询出每组数据中时间最早或最晚的数据
MySQL如何查询根据某一条件分组,再查询出每组数据中时间最早或最晚的数据
2024-03-04 17:25:47
1237
原创 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
1211
原创 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
1540
原创 docker 下载镜像,将tar包加载为镜像,给镜像打标签,启动容器...一篇文章搞定
docker 下载镜像,将tar包加载为镜像,给镜像打标签,启动容器...一篇文章搞定
2023-06-05 17:27:20
4163
原创 pom文件的project标签报错java.lang.OutOfMemoryError: GC overhead limit exceeded
只需修改idea配置。
2023-05-06 10:58:24
806
原创 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
1820
原创 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
511
原创 Jenkins执行shell脚本报错:bash: kubectl: command not found
Jenkins执行shell脚本报错:bash: kubectl: command not found
2022-12-07 11:12:18
4566
原创 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
8536
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
934
原创 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
6182
1
原创 Jenkins执行shell脚本报错:docker: command not found
bash: docker: command not found
2022-11-28 15:09:01
5330
原创 服务打包,报错无法删除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
1974
原创 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
4275
原创 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
3475
原创 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
244
原创 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
743
原创 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
1712
1
原创 Redis无法使用IP链接,只能通过localhost/127.0.0.1链接
Redis无法使用IP链接,只能通过localhost/127.0.0.1链接
2022-09-22 17:00:25
3191
原创 rabbitMQ登录报错user can only log in via localhost
rabbitMQ登录报错user can only log in via localhost
2022-09-22 16:32:07
9630
原创 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
1598
原创 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
9223
原创 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
9351
原创 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
1957
原创 最全的项目部署+持续集成解决方案:Jenkins + git + docker
最全的项目部署+持续集成解决方案:Jenkins + git + docker
2022-08-24 16:59:47
5554
原创 kafka stream实现实时流式计算以及springboot集成kafka stream
kafka stream实现实时流式计算以及springboot集成kafka stream
2022-08-18 16:05:34
3301
2
原创 本地搭建minIO文件存储服务以及springboot整合MinIO提供文件存储服务
本地搭建minIO文件存储服务以及springboot整合MinIO提供文件存储服务
2022-08-05 16:50:46
3581
原创 详细解读:反射的用法
反射是一种机制,利用该机制可以在程序运行过程中对类进行解剖并操作类中的所有成员(成员变量,成员方法,构造方法);使用反射的前提是要获得该类字节码文件对象,就是Class对象。
2022-07-19 16:15:48
404
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人