-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 Build fail with Quarkus-awt and pdfbox #26682
Comments
I am going to close this as However if @Karm has some insights here, it would be nice to get them. |
@geoand
|
@geoand |
I want input from the Camel folks before proceeding any further |
Yes, |
With
Is there any configuration i missed? |
@ppalaga @lburgazzoli |
Thanks for the example code, @dilipdhankecha2530. You are using PDFBox directly. There is no Camel code in your app. And there is no way to do this with Camel either.
You may want to add it via
The output of native-image command should then tell you which class(es) you need to declare as initialized at runtime - see https://quarkus.io/guides/writing-native-applications-tips#delaying-class-initialization |
See for a working example. |
@Karm I wanted to do something completely unrelated to work and your quickstart allowed me to get PDFBox working in native! Thanks a lot! |
Describe the bug
We want to create image from pdf file and for that we are planning to use Quarkus and want to deploy as AWS lambda.
All things are working as expected if I build application as non native with below command.
Now to improve performance, I want to build native image. I am using below command to build native image.
This native build command is giving below error:
My build.gradle.
My application.yml
We also tried after adding
implementation 'io.quarkus:quarkus-awt'
in build.gradle file and build is getting failed.build logs after adding 'io.quarkus:quarkus-awt'`
Can anyone help here to build native with pdfbox or any alternative to create image from pdf using quarkus?
Expected behavior
Build must be completed and runner file will also working for the lambda.
The text was updated successfully, but these errors were encountered: