-
Notifications
You must be signed in to change notification settings - Fork 35
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
Native image generation fails when adding a dependency with io.micronaut.gcp:micronaut-gcp-tracing #532
Comments
I don't know how can make it with gradle but with maven when you add this two configuration you'll not have that problem.
|
For the record. I'm seeing the same issue with the following versions: micronaut-gcp: 3.4 I've tried with and without the The gradle dependency code:
The graalvm output error:
|
With graal-vm: 22.1.0, you need to the use the |
I upgraded the sample application to Micronaut Framework 4 .
@msupic could you look into this? |
@graemerocher - in the example created by @sdelamo, the dockerBuildNative task fails with the following error:
The error happens because |
I raised the topic of shading of netty a while back with Vojin, really the metadata is the same as for Netty so it is duplicated work every time netty is shaded |
Expected Behavior
A native image should be generated
Actual Behaviour
The following error is shown:
Steps To Reproduce
./gradlew dockerBuildNative
implementation("io.micronaut.gcp:micronaut-gcp-tracing")
./gradlew dockerBuildNative
Environment Information
MacOS
Java 17 Temurin
Buiding using Docker
Example Application
https://github.com/codependent/micro-tracing
Version
3.2.3
The text was updated successfully, but these errors were encountered: