当前位置:网站首页>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>
边栏推荐
- Study note 2 -- definition and value of high-precision map
- How to compress video size while adding watermark with one click?
- Viewing and modifying volume group attributes of Aix storage management (II)
- Part 29 supplement (XXIX) basis of ECMAScript
- Powerful calendar wechat applet source code - support the main mode of doing more traffic
- Mitsubishi PLC FX3U pulse axis jog function block (mc_jog)
- [image enhancement] vascular image enhancement based on frangi filter with matlab code
- Otaku wallpaper Daquan wechat applet source code - with dynamic wallpaper to support a variety of traffic owners
- How can programmers better plan their career development?
- 站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
猜你喜欢

Collection: comprehensive summary of storage knowledge

Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation

XMind思维导图

一名优秀的软件测试人员,需要掌握哪些技能?

Design and control of multi rotor aircraft (VII) -- sensor calibration and measurement model

Single chip microcomputer -- hlk-w801 transplant NES simulator (III)

Principle of finding combinatorial number and template code

学习笔记2--高精度地图定义及价值

Excel PivotTable

Datawhale 社区黑板报(第1期)
随机推荐
Tencent cloud techo youth dream campus trip into Wuhan University
AIX存储管理之卷组的创建(一)
Develop a simple login logic based on SSM
CTF daily question day45 sensor
ACM tutorial - quick sort (regular + tail recursion + random benchmark)
JMeter做接口测试,如何提取登录Cookie
XMIND mind map
Global and Chinese market of collaborative applications 2022-2028: Research Report on technology, participants, trends, market size and share
Two TVs
XMind思维导图
What is commercial endowment insurance? Is commercial endowment insurance safe?
How to reflect and solve the problem of bird flight? Why are planes afraid of birds?
BiLSTM-CRF代码实现
Random avatar encyclopedia, multi category wechat applet source code with history_ Support traffic master
Datawhale 社区黑板报(第1期)
Leetcode 45 Jumping game II (2022.02.14)
The 8-year salary change of testers makes netizens envy it: you pay me one year's salary per month
一名优秀的软件测试人员,需要掌握哪些技能?
工作中非常重要的测试策略,你大概没注意过吧
Basis of deep learning neural network