Springboot2.x integrated lettuce connection redis cluster reports timeout exception Command timed out after 6 second(s)

Original/Zhu Jiqian Background: Recently, I was doing a stress test on a newly developed Springboot system. I found that when I first started the stress test, I could access data from the redis cluster normally. However, after a few minutes of pause, and then when I continued to use jmeter to perform the stress test, […]

Valgrind reports error disInstr(arm): unhandled instruction: 0xEC510F1E

Directory title Problem background specific reason The principle behind Conclusion Problem background When using cross-compiled Valgrind on the arm platform to monitor your own process, you will find that processes that rely on libcrypto will report an error. Roughly as follows ==20393== Memcheck, a memory error detector ==20393== Copyright (C) 2002-2022, and GNU GPL’d, by […]

The saveBatch of mybatis-plus reports an error, but there is no problem with save? Null pointer Caused by: java.lang.NullPointerException

Null pointer problem in batch operations such as saveBatch in mybatis-plus describe: Error message Solutions solution doubt Reference blog Description: It’s almost time to get off work again, haha. I hope I can help you. I’ll explain it in a scribble. Null pointers will appear in batch operations, but there is no problem in a […]

There is a vulnerability in the third-party component used by Android APP. After rectification, an error is reported: ava.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/Color;

Recently, the company’s app was detected to use third-party components containing vulnerabilities and needs to be rectified. Record: some problems encountered during the rectification process and their solutions. 1. The component commons-net-3.3.jar has a vulnerability CVE-2021-37533. According to the official website announcement, just upgrade to 3.10.0 or above. build.gradle under app implementation ‘commons-net:commons-net:3.10.0’ Apache official […]

Several ways to report front-end buried points

Recommend a practical interview question bank to everyone 1. Front-end interview question bank (Essential for interviews) Recommended: Address: Web front-end interview question bank Introduction In modern web applications, point reporting is an important means of data collection and analysis. This article will introduce several common ways to report front-end buried points, and elaborate on how […]

PG creates index and reports out of memory error

qs=> show shared_buffers; shared_buffers —————- 12GB (1 line record) qs=> show work_mem; work_mem ———- 4MB (1 line record) qs=> show maintenance_work_mem; maintenance_work_mem ———————– 8GB (1 line record) qs=> CREATE INDEX ACT_IDX_BYTEARRAY_NAME ON qs.ACT_GE_BYTEARRAY USING btree (NAME_); Error: Out of memory Description: Failed when requesting size 9 in memory context “TupleSort main”. Background: Parallel Worker Processes […]

Regarding the problem of error report when building springboot2.x, the image cannot find the springboot package.

Error reason Today I got an error while learning springboot for the first time. When building springboot on 2023.10.31, springboot2 could only select version 2.7.17. After JDK selected the matching 1.8, I still got an error org.springframework.boot:spring-boot-starter. -parent:pom:2.7.17.RELEASE was not found in http://maven.aliyun.com/nexus/content/groups/public/ during a previous attempt. This failure was cached in the local repository […]

Docker deployment nacos reports No DataSource set exception

2023-11-04 16:07:12,865 ERROR Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘memoryMonitor’ defined in URL [jar:file:/home/nacos/target/nacos-server.jar!/BOOT-INF/lib/nacos- config-2.2.3.jar!/com/alibaba/nacos/config/server/monitor/MemoryMonitor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘asyncNotifyService’: Unsatisfied dependency expressed through field ‘dumpService’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘externalDumpService’: Invocation of init method […]

Regarding the Youshuang Linux high-performance server programming code list 13-4 Segmentation fault (core dumped) error reporting problem

I tried various adapted or official codes, but they were all wrong. Finally, I found that the problem lies in this line of code. sub_process[pid] = user_count; This line of code assigns the pid to the array, but how big is the array? The code is as follows sub_process = new int[PROCESS_LIMIT]; You will find […]

Mybatis integrates pagehelper and reports an error ClassNotFoundException: org.mybatis.logging.LoggerFactory

Table of Contents Report an error reason Solution Error report In order to introduce pagehelper, the following code is added to the pom.xml file <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.1.3</version> </dependency> As a result, the error when starting the soringboot project is as follows: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘testMybatisController’: Unsatisfied dependency expressed through field ‘salePickGoodsInfoMapper’; […]