I am generating PDF files with the apache fop library (v2.2). If I run application from the Eclipse IDE all run without problems but if I generate JAR from the Eclipse IDE with library handling set to Extract required libraries into generated JAR and after that I will run JAR it will generate PDF files without images (text is visible as expected). First I thought that it is caused by invalid file paths, but If I use the base64 encoding of images directly in the XSL images are still not visible. If I generate JAR with library handling set to Package required libraries into generated JAR everything run OK but too slowly. Have you any idea which can be the reason of this?
I found out following problems:
'SEVERE: Image not available. URI: image_name.jpg. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for image_name.jpg(No context info available)'