NutzCN Logo
问答 Nutz使用redis集成
发布于 1841天前 作者 qq_d2a920f9 1905 次浏览 复制 上一个帖子 下一个帖子
标签:
[DEBUG] 2019-10-16 14:49:55,698 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class redis.clients.jedis.JedisCluster without AOP
[DEBUG] 2019-10-16 14:49:55,699 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'jedisCluster' from [app] 
[DEBUG] 2019-10-16 14:49:55,699 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'jedisClusterWrapper' from [app] 
[DEBUG] 2019-10-16 14:49:55,699 org.nutz.plugins.cache.impl.lcache.LCacheManager.run(LCacheManager.java:82) - psubscribe fail, retry after 3 seconds
org.nutz.ioc.IocException: IocBean[jedisClusterWrapper -> jedisCluster] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:150)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:62)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:245)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:152)
	at org.nutz.integration.jedis.JedisAgent.getJedisClusterWrapper(JedisAgent.java:66)
	at org.nutz.integration.jedis.JedisAgent.jedis(JedisAgent.java:50)
	at org.nutz.plugins.cache.impl.lcache.LCacheManager.jedis(LCacheManager.java:51)
	at org.nutz.plugins.cache.impl.lcache.LCacheManager.run(LCacheManager.java:77)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'redis.clients.jedis.JedisCluster'
 by args: [
@([localhost:7000])
@(2000)
@(0)
@(10)
@(null)
@(redis.clients.jedis.JedisPoolConfig@6fbb539c)]
 because: No suitable Constructor or Factory Method!!
	at org.nutz.lang.Mirror.getBorning(Mirror.java:967)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:100)
	... 11 more
[DEBUG] 2019-10-16 14:49:55,701 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) - Message Loaded, size = 3
2 回复

jedis用2.9系列

3Q 程序起来了

添加回复
请先登陆
回到顶部