redis-scheduler icon indicating copy to clipboard operation
redis-scheduler copied to clipboard

Fix NoSuchMethodError when using a recent version of spring-data-redis

Open mtallet opened this issue 7 years ago • 2 comments

Hi David,

I use your redis-scheduler lib with spring-data-redis:1.8.x.RELEASE. Because the project has been compiled with an older version (signature boolean remove(...)) it leads to this error in the PollingThread.

  • Upgrade dependencies
  • Just a little change in the test case because on my machine the list contains the same task twice.

mtallet avatar Jan 17 '18 09:01 mtallet

Thanks for your contribution! Please submit both changes separately, as the 2 aren't linked.

With regards to the dependency upgrade, are all new dependencies introduced because of the upgrade of Jedis / Spring Data Redis?

davidmarquis avatar Jan 21 '18 20:01 davidmarquis

Hi @davidmarquis

  • revert the change in the RedisTaskSchedulerIntegrationTest, eventually in another PR.
  • for the dependency upgrade: spring-data-redis:1.8.x depends on spring-*:4.3.x and commons-pool etc. For other changes in the pom it was mainly for having log output for the provided tests and alignment with current versions of slf4 and logback

mtallet avatar Jan 22 '18 09:01 mtallet