redis - java.lang.NoSuchMethodError: in redisson and netty integration -


i have built own library of custom methods using redisson 3.4.4. internally uses netty-all-4.1.13.final.jar.

when build library , try use project following exception,

java.lang.nosuchmethoderror: io.netty.bootstrap.bootstrap.config()lio/netty/bootstrap/bootstrapconfig; @ org.redisson.client.redisclient$1$1.operationcomplete(redisclient.java:214) @ io.netty.util.concurrent.defaultpromise.notifylistener0(defaultpromise.java:680) @ io.netty.util.concurrent.defaultpromise.notifylisteners(defaultpromise.java:567) @ io.netty.util.concurrent.defaultpromise.trysuccess(defaultpromise.java:406) @ org.redisson.misc.redissonpromise.trysuccess(redissonpromise.java:78) @ org.redisson.client.handler.baseconnectionhandler.channelactive(baseconnectionhandler.java:85) @ io.netty.channel.abstractchannelhandlercontext.invokechannelactive(abstractchannelhandlercontext.java:212) @ io.netty.channel.abstractchannelhandlercontext.firechannelactive(abstractchannelhandlercontext.java:198) @ io.netty.channel.defaultchannelpipeline.firechannelactive(defaultchannelpipeline.java:818) @ io.netty.channel.nio.abstractniochannel$abstractniounsafe.fulfillconnectpromise(abstractniochannel.java:252) @ io.netty.channel.nio.abstractniochannel$abstractniounsafe.finishconnect(abstractniochannel.java:282) @ io.netty.channel.nio.nioeventloop.processselectedkey(nioeventloop.java:528) @ io.netty.channel.nio.nioeventloop.processselectedkeysoptimized(nioeventloop.java:468) @ io.netty.channel.nio.nioeventloop.processselectedkeys(nioeventloop.java:382) @ io.netty.channel.nio.nioeventloop.run(nioeventloop.java:354) @ io.netty.util.concurrent.singlethreadeventexecutor$2.run(singlethreadeventexecutor.java:111) @ io.netty.util.concurrent.defaultthreadfactory$defaultrunnabledecorator.run(defaultthreadfactory.java:137) @ java.lang.thread.run(thread.java:748) 

i did further digging "netty-all-4.1.13.final.jar" , able find method "io.netty.bootstrap.bootstrap.config()" return type "io/netty/bootstrap/bootstrapconfig" present.

why getting "method not found error" here if present in jar/library using??

i modified classpath used running application include netty-all-4.1.13.final.jar before jars felt internally using netty's older version library.

solved of now.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -