You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
你好,我在com.xxl.mq.client.XxlMqProducer类中增添了新的方法produceCachedMsg,然后在example工程中增加一个controller action调用该方法,但是会报以下错误:
for servlet [springmvc] in context with path [/xxl-mq-example] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: com.xxl.mq.client.XxlMqProducer.produceCachedMsg(Ljava/lang/String;Ljava/util/Map;)V] with root cause
java.lang.NoSuchMethodError: com.xxl.mq.client.XxlMqProducer.produceCachedMsg(Ljava/lang/String;Ljava/util/Map;)V
你好,我在com.xxl.mq.client.XxlMqProducer类中增添了新的方法produceCachedMsg,然后在example工程中增加一个controller action调用该方法,但是会报以下错误:
for servlet [springmvc] in context with path [/xxl-mq-example] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: com.xxl.mq.client.XxlMqProducer.produceCachedMsg(Ljava/lang/String;Ljava/util/Map;)V] with root cause
java.lang.NoSuchMethodError: com.xxl.mq.client.XxlMqProducer.produceCachedMsg(Ljava/lang/String;Ljava/util/Map;)V
然而奇怪的是,如果我在一个tomcat上同时启动broker和example两个项目,那么就可以成功的调用该方法。如果在server1中部署了broker,在server2上部署example,就会报上述错误
The text was updated successfully, but these errors were encountered: