-
Notifications
You must be signed in to change notification settings - Fork 31
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
I am getting bitten with a Graalvm-native image #190
Comments
What is the default loger implementation did you use JUL / logback / log4j2? I would suggest to search onGoogle how to integrate graal vm with any java logger implementation. here some hint Google or StackOverflow is your friend in this case :) |
Thanks for taking the time to answer, and for the hint, graalvm, is still a work in progress, so, being able to point correctly is difficult still. I agree, has nothing to do with |
To enable zio-s3 in GraalVM you have to enable the following configuration: "--initialize-at-build-time=org.slf4j.LoggerFactory",
"--initialize-at-build-time=org.slf4j.simple.SimpleLogger",
"--initialize-at-build-time=org.slf4j.impl.StaticLoggerBinder",
"--initialize-at-run-time=io.netty.util.internal.logging.Log4JLogger",
"--initialize-at-run-time=io.netty.util.AbstractReferenceCounted",
"--initialize-at-run-time=io.netty.channel.epoll",
"--initialize-at-run-time=io.netty.handler.ssl",
"--initialize-at-run-time=io.netty.channel.unix" The majority of the issues are related with netty. |
- io.netty (zio/zio-s3#190 (comment)) - SLF4j, log4j (micronaut-projects/micronaut-core#6041)
Question:
I am doing this right?
Working with a Graalvm native image and after adding the dependency
I started to noticed reflection issues in build time, therefore I had to flag my
graalVMNativeImageOptions
inbuild.sbt
Still unsuccessful 😣
My question is: Am I doing this right? I starting to be too painful to be the normal process. It feels like I need to configure a less obvious side-effect, to me at least, to make it work.
Aditional resources
Would appreciate any hint, cheers!
The text was updated successfully, but these errors were encountered: