Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用RedisScheduler会报找不到rpush方法,使用默认的Schduler正常。 #1143

Closed
hackeryutu opened this issue Jan 11, 2024 · 1 comment

Comments

@hackeryutu
Copy link

Exception in thread "main" java.lang.NoSuchMethodError: 'java.lang.Long redis.clients.jedis.Jedis.rpush(java.lang.String, java.lang.String[])'
at us.codecraft.webmagic.scheduler.RedisScheduler.pushWhenNoDuplicate(RedisScheduler.java:59)
at us.codecraft.webmagic.scheduler.DuplicateRemovedScheduler.push(DuplicateRemovedScheduler.java:37)
at us.codecraft.webmagic.Spider.addRequest(Spider.java:514)
at us.codecraft.webmagic.Spider.addRequest(Spider.java:589)

@hackeryutu
Copy link
Author

spring boot把jedis的版本变成4.x了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant