Issue: QR Code Generation Error in BI Publisher Desktop
I’m trying to generate a QR code using the syntax <?qrcode:QR_STRING;60?> in my Oracle BI Publisher Desktop template. However, when I run the template, I get the following error:
javascriptCopyoracle.xdo.XDOException: oracle.xdo11g.xpath.XPathException: Extension function error: Error invoking 'qrcode':'java.lang.NoClassDefFoundError: com/google/zxing/qrcode/decoder/ErrorCorrectionLevel'
What I’ve Tried:
- I’m using Oracle BI Publisher Desktop and generating PDF output.
- The
QR_STRING field is correctly mapped in my XML. - The Zxing JAR (for QR code generation) appears to be missing or not properly configured, as suggested by the error message.
Questions:
- How can I fix the missing Zxing library in BI Publisher Desktop to allow QR code generation?
- Do I need to install any additional libraries or fonts for QR code functionality to work?
- Is there any other configuration or fix I need to apply to get this working?
Environment:
- Oracle BI Publisher Version: Desktop
- Output Format: PDF