Error creating bean with name 'redisson' defined in class path resource
时间: 2023-08-23 09:11:27 浏览: 284
回答: 引发"Error creating bean with name 'redisson' defined in class path resource"的原因是Redis连接配置不正确。这可能是由于Redis的信息配置错误导致的。需要检查Redis的主机名、端口号、密码等信息是否正确配置。\[1\]另外,报错信息中还提到了"Unable to init enough connections amount! Only 7 of 8 were initialized",这可能是由于Redis连接池的连接数配置不正确导致的。需要检查连接池的最大连接数是否正确配置。\[2\]
#### 引用[.reference_title]
- *1* [redis连接出错:](https://blog.csdn.net/boos_zhao/article/details/119207118)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [【redisson】【redis】redisson初始化失败](https://blog.csdn.net/duxianfengdq/article/details/127955316)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文