jdussouillez opened a new issue, #8067:
URL: https://github.com/apache/camel-quarkus/issues/8067

   ### Bug description
   
   I used FOP and Quarkus for years without any trouble.
   Recently, I decided to use Camel's FOP integration to be able to build and 
run my app in native.
   
   Everything is working in JAR mode.
   In native mode, I have an error when I want to include images in my PDF 
using `fo:external-graphic`.
   
   Reproducer: https://github.com/jdussouillez/quarkus-camel-fop-img/tree/master
   
   | Mode | Use of `fo:external-graphic` | Success |
   |--------|--------|--------|
   | JAR | No | ✔️  |
   | JAR | Yes | ✔️ |
   | Native | No | ✔️ |
   | Native | Yes | 🔴  |
   
   Partial stacktrace:
   ```
   Caused by: java.util.MissingResourceException: Error reading 
event-model.xml: org.xml.sax.SAXException: Could not find Class for: 
java.io.FileNotFoundException
   java.lang.ClassNotFoundException: java.io.FileNotFoundException
        at 
org.apache.fop.events.DefaultEventBroadcaster.loadModel(DefaultEventBroadcaster.java:91)
   ```
   
   [Complete 
stacktrace](https://github.com/jdussouillez/quarkus-camel-fop-img/tree/master?tab=readme-ov-file#results)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to