thmarx / vert.x-busmod-redis

Vert.x redis busmod - currently not under active development
Other
12 stars 7 forks source link

Vertx-1.3.0.final and de.marx-labs.redis-client-v0.3 causes NoSuchMethodError #5

Open wuman opened 11 years ago

wuman commented 11 years ago

Running vertx-1.3.0.final with de.marx-labs.redis-client-v0.3 causes NoSuchMethodError:

 java.lang.NoSuchMethodError: org.vertx.java.core.eventbus.EventBus.registerHandler(Ljava/lang/String;Lorg/vertx/java/core/Handler;)Ljava/lang/String;
     at net.ml.vertx.mods.redis.RedisClient.connect(RedisClient.java:100)
     at net.ml.vertx.mods.redis.RedisClient.start(RedisClient.java:81)
     at org.vertx.java.deploy.impl.VerticleManager$10.run(VerticleManager.java:745)
     at org.vertx.java.core.impl.Context$2.run(Context.java:122)
     at org.vertx.java.core.impl.Context$1.run(Context.java:112)
     at org.vertx.java.core.impl.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:90)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
     at java.lang.Thread.run(Thread.java:722)
sscarduzio commented 11 years ago

This issue is a blocker and makes the module UNUSABLE with any recent vert.x. Please fix ASAP!

thmarx commented 11 years ago

I've just merged this pull request https://github.com/thmarx/vert.x-busmod-redis/pull/6

I will release a new version until the weekend

sscarduzio commented 11 years ago

Thanks thmarx, very much appreciated. Could you please also take a look at zrangebyscore. I had to ductape fix some problems on how you validate min and max parameters.

bytor99999 commented 11 years ago

Where is the new version located? I just got v 0.3.0 from vert.x mods repository but that is the old version with the error.

Thanks

Mark

thmarx commented 11 years ago

there is no offical version. you can build it your self or try https://github.com/vert-x/vertx-mods/tree/gh-pages/mods/li.chee.redisques-v0.3

my busmod ist currently not under active development.

bytor99999 commented 11 years ago

I cloned yours and built. But I though chee's was just if you wanted it all queued, and yours for direct access?

Mark