You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "Shawyeok (via GitHub)" <gi...@apache.org> on 2024/11/12 03:02:38 UTC
Re: [I] [Bug] NoClassDefFoundError: io/grpc/netty/shaded/io/grpc/netty/shaded/io/netty/handler/logging/ByteBufFormat [pulsar]
Shawyeok commented on issue #23513:
URL: https://github.com/apache/pulsar/issues/23513#issuecomment-2469496334
This issue it also reproducible in pulsar 3.0.6:
```
docker run -it --rm apachepulsar/pulsar:3.0.6 bin/pulsar standalone --metadata-url etcd:http://a-etcd:2379
```
@lhotari
It seems this was introduced in PR #22892. It’s unusual to see [shadedArtifactAttached][1] enabled on a module designed only for jar shading.
https://github.com/apache/pulsar/blob/7822dca1ffe45324d7af7ef830c617f6881a5431/jetcd-core-shaded/pom.xml#L144-L146
I’ve removed some configurations in [my fork][2], and tests have passed with the import verified correctly in `org.apache.pulsar.jetcd.shaded.io.vertx.core.net.NetworkOptions` class.
This should address the issue, although the impact on IntelliJ support remains uncertain.
[1]: https://maven.apache.org/plugins/maven-shade-plugin/examples/attached-artifact.html
[2]: https://github.com/Shawyeok/pulsar/pull/18
--
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@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org