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] Problems during compilation of http4s with http client #388
Comments
What does this |
That error means that you start a thread in a static initializer. This is not allowed. The error message has been improved since the release. |
One way to solve these issues could be to run specific static initializers not at boot image generation time, but make them part of the native image. |
I was able to pinpoint the problem in http4s' blaze-based client here: I think we can close this issue. Is this limitation in documentation somewhere? I guess it's quite important. |
@lbialy This limitation is not explicitly in the documentation. I'll fix it. |
quarkusio/quarkus#25986 allows Quarkus native to work with the image-builder running on module path. Reverts: oracle#388, oracle#390, oracle#391 Closes: oracle#389
quarkusio/quarkus#25986 allows Quarkus native to work with the image-builder running on module path. Reverts: oracle#388, oracle#390, oracle#391 Closes: oracle#389
I was trying to compile my POC service and got this:
How to reproduce -
sbt assembly
native-image -H:+ReportUnsupportedElementsAtRuntime -jar blockchain-explorer-on-cats-assembly-0.0.1-SNAPSHOT.jar
The text was updated successfully, but these errors were encountered: