-
Notifications
You must be signed in to change notification settings - Fork 34
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
ClassNotFoundException: com.aayushatharva.brotli4j.decoder.DecoderJNI$Wrapper during native build #119
Comments
The root cause seems to be that We need either @loicmathieu would you have any problem with B. It looks like we could re-create their config using Quarkus means in quarkus-google-cloud-services. WDYT? |
@gsmet came up with another solution https://github.com/quarkusio/quarkus/pull/17604/files - it works well for Camel Quarkus |
While it works around the issue, I would say it's still a good idea to start the work to avoir using We might not be as lucky next time. Also it's definitely not a recommended option. |
I was going also to said this is an issue on Quarkus netty and not specific to this extension but it seems to be a little more complicated. Anyhow, I added a comment on Peter's issue on Google Cloud native support, I'm pretty sure we can work with them on this subject ;) |
Yes, using the native support from upstream is the recommended way inside Quarkus when available and it's also the way we work together with the Google Cloud team. Using the library and improving it will also improve native support for the all open source community (not only Quarkus) so it's worth it ;) |
I will try to remove the
I'm curious why these are the only choices. Can GraalVM not be improved so that On a separate note, I understand Currently GraalVM is relatively new and libraries are just starting to implement adoption for it. I think in this early stage, you are bound to hit problems that may require |
@gsmet, we discussed this recently, this is a valid point, GraalVM support could be hard and as more and more library will include support for it we may hit this issue more often. Maybe an issue should be openned on GrallVM side to support |
I had the same question and asked it here: oracle/graal#1725 (comment) |
Gotcha, will do. In any case, we'll still work on getting the |
This has been worked around in 2.0.0.CR3 but I keep this one openned to track the upstream changes. |
Sounds good. We are starting work to remove |
Thanks to @dzou and its team, the So we can close this one. |
Originally reported in Camel Quarkus apache/camel-quarkus#2692
I wonder if the issue can be reproduced on plain quarkus-google-cloud-services.
It might be related to quarkusio/quarkus@a8a239a
I assume some of the Google cloud libs somehow depends on Brotli4J.
Here are the steps to reproduce from Camel Quarkus
The text was updated successfully, but these errors were encountered: