Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

void org.apache.rocketmq.client.consumer.DefaultMQPushConsumer.setNamespaceV2(java.lang.String) #694

Open
vual opened this issue Dec 3, 2024 · 0 comments

Comments

@vual
Copy link

vual commented Dec 3, 2024

An attempt was made to call a method that does not exist. The attempt was made from the following location:

org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer.initRocketMQPushConsumer(DefaultRocketMQListenerContainer.java:645)

The following method did not exist:

'void org.apache.rocketmq.client.consumer.DefaultMQPushConsumer.setNamespaceV2(java.lang.String)'

The calling method's class, org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer, was loaded from the following location:

jar:file:/D:/Maven/repository_idea/org/apache/rocketmq/rocketmq-spring-boot/2.3.1/rocketmq-spring-boot-2.3.1.jar!/org/apache/rocketmq/spring/support/DefaultRocketMQListenerContainer.class

The called method's class, org.apache.rocketmq.client.consumer.DefaultMQPushConsumer, is available from the following locations:

jar:file:/D:/Maven/repository_idea/org/apache/rocketmq/rocketmq-client/5.1.4/rocketmq-client-5.1.4.jar!/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.class

The called method's class hierarchy was loaded from the following locations:

org.apache.rocketmq.client.consumer.DefaultMQPushConsumer: file:/D:/Maven/repository_idea/org/apache/rocketmq/rocketmq-client/5.1.4/rocketmq-client-5.1.4.jar
org.apache.rocketmq.client.ClientConfig: file:/D:/Maven/repository_idea/org/apache/rocketmq/rocketmq-client/5.1.4/rocketmq-client-5.1.4.jar

Action:

Correct the classpath of your application so that it contains compatible versions of the classes org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer and org.apache.rocketmq.client.consumer.DefaultMQPushConsumer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant