No qualifying bean of type [redis.clients.jedis.JedisCluster] found for dependency:
原因可能是applicationContext-jedis.xml引入失败.
如果你的applicationContext-jedis.xml是放在一个独立的项目中,
需要在你依赖redis的maven项目的web.xml中标签中,在classpath后加*
classpath*:applicationContext-.xml
或者classpath:applicationContext-.xml,classpath: applicationContext-jedis.xml
Maven项目的No qualifying bean of type [redis.clients.jedis.JedisCluster] found for dependency:错误
最新推荐文章于 2022-07-27 10:20:55 发布