You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "HScarb (via GitHub)" <gi...@apache.org> on 2023/03/07 08:27:25 UTC
[GitHub] [rocketmq] HScarb opened a new issue, #6264: Client dependency conflict, cause NoClassDefFoundError. Require for shaded client
HScarb opened a new issue, #6264:
URL: https://github.com/apache/rocketmq/issues/6264
I run into an issue identical to https://blog.51cto.com/u_15127641/2875028
In rocketmq_client.log:
```log
java.lang.NoClassDefFoundError:Could not initialize class org.apache.rocketmq.common.message.MessageClientIDSetter
```
And it is caused by package conflict.
---
These issues will appear since Rocketmq clients share the same package with users' service.
It would be better to have a shaded client, which dependencies are in an individual package.
Ref: https://github.com/apache/pulsar/blob/master/pulsar-client-shaded/pom.xml
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] aaron-ai commented on issue #6264: Client dependency conflict, cause NoClassDefFoundError. Require for shaded client
Posted by "aaron-ai (via GitHub)" <gi...@apache.org>.
aaron-ai commented on issue #6264:
URL: https://github.com/apache/rocketmq/issues/6264#issuecomment-1457776145
RocketMQ 5.x client provides the shaded jar. which you could refer to [here](https://github.com/apache/rocketmq-clients/tree/master/java).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] GoodAjman commented on issue #6264: Client dependency conflict, cause NoClassDefFoundError. Require for shaded client
Posted by "GoodAjman (via GitHub)" <gi...@apache.org>.
GoodAjman commented on issue #6264:
URL: https://github.com/apache/rocketmq/issues/6264#issuecomment-1673083839
Dependency conflicts
commons-validator
![image](https://github.com/apache/rocketmq/assets/39800460/63de45c0-40a7-4fa5-ab68-e8bda0c9bad4)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org