当前位置:网站首页>Error creating bean with name ‘stringRedisTemplate‘ defined in class path re
Error creating bean with name ‘stringRedisTemplate‘ defined in class path re
2022-07-02 01:16:00 【Gossip blog】
Error generation environment
SpringBoot Project connection integration Redis Generated when database
Error description
Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool2.impl.GenericObjectPoolConfig
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_101]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_101]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_101]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_101]
... 71 common frames omitted
The reason for the error
spring-boot-starter-data-redis By default lettuce As redis client , lettuce The underlying the netty Realization , Can be accessed concurrently in multiple threads , And thread safety , In the use of lettuce Thread pool needs to be configured **
terms of settlement
stay maven Introduction in Thread pool , We depend on zone=GMT
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.9.0</version>
</dependency>
边栏推荐
- Global and Chinese market of wireless chipsets 2022-2028: Research Report on technology, participants, trends, market size and share
- I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
- What skills does an excellent software tester need to master?
- [IVX junior engineer training course 10 papers] 04 canvas and a group photo of IVX and me
- Creation of volume group for AIX storage management (I)
- Basic usage of shell script
- Datawhale 社区黑板报(第1期)
- The 8-year salary change of testers makes netizens envy it: you pay me one year's salary per month
- How can programmers better plan their career development?
- ACM教程 - 快速排序(常规 + 尾递归 + 随机基准数)
猜你喜欢

Xinniuniu blind box wechat applet source code_ Support flow realization, with complete material pictures

gradle

Exclusive delivery of secret script move disassembly (the first time)

GL Studio 5 安装与体验

【八大排序②】选择排序(选择排序,堆排序)

Datawhale community blackboard newspaper (issue 1)

You probably haven't noticed the very important testing strategy in your work

Advanced skills of testers: a guide to the application of unit test reports

Day 13 of hcip (relevant contents of BGP agreement)

Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
随机推荐
Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model
Global and Chinese markets for food allergens and intolerance tests 2022-2028: Research Report on technology, participants, trends, market size and share
AIX存储管理之卷组的创建(一)
Advanced skills of testers: a guide to the application of unit test reports
Global and Chinese markets of edge AI software 2022-2028: Research Report on technology, participants, trends, market size and share
Data visualization in medical and healthcare applications
程序员该如何更好的规划自己的职业发展?
Global and Chinese markets for maritime services 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL winter vacation self-study 2022 12 (4)
Docker installing Oracle_ 11g
Global and Chinese market of avionics systems 2022-2028: Research Report on technology, participants, trends, market size and share
You probably haven't noticed the very important testing strategy in your work
Mathematics - feelings -20220215
Recently, three articles in the nature sub Journal of protein and its omics knowledge map have solved the core problems of biology
Appium inspector can directly locate the WebView page. Does anyone know the principle
Global and Chinese market of aircraft MRO software 2022-2028: Research Report on technology, participants, trends, market size and share
【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
cookie、session、tooken
【八大排序③】快速排序(动图演绎Hoare法、挖坑法、前后指针法)
Study note 2 -- definition and value of high-precision map