一直报错,用的3.10.0版本
Description:
An attempt was made to call the method org.redisson.api.RTopic.addListener(Lorg/redisson/api/listener/MessageListener;)I but it does not exist. Its class, org.redisson.api.RTopic, is available from the following locations:
jar:file:/Users/xiaogu/.m2/repository/org/redisson/redisson/3.10.0/redisson-3.10.0.jar!/org/redisson/api/RTopic.class
It was loaded from the following location:
file:/Users/xiaogu/.m2/repository/org/redisson/redisson/3.10.0/redisson-3.10.0.jar
Action:
Correct the classpath of your application so that it contains a single, compatible version of org.redisson.api.RTopic
目测是下载失败了。去/Users/xiaogu/.m2/repository/org/redisson/redisson/这里,删除下面全部文件。重新编译