I am trying to generate a Barcode4j QR Code from a Jasper report through the Jasper report plugin.
I am getting an error “java.lang.NoClassDefFoundError: com/google/zxing/WriterException”, issued this error on https://github.com/Servoy/servoy_jasperreports/issues one year ago, no response until now.
No problem when report runs from JasperSoft Studio, I guess the needed library is not present in the Jasper report plugin.
lwjwillemsen:
I am trying to generate a Barcode4j QR Code from a Jasper report through the Jasper report plugin.
I am getting an error “java.lang.NoClassDefFoundError: com/google/zxing/WriterException”, issued this error on https://github.com/Servoy/servoy_jasperreports/issues one year ago, no response until now.
No problem when report runs from JasperSoft Studio, I guess the needed library is not present in the Jasper report plugin.
Any help is very appreciated!
Hi
We are producing QR-Codes with the jasperreports-6.4.1.jar plugin and in the plugins\servoy_jasperreports\ directory there is a file barcode4j-2.1.jar. Maybe this one is missing?
added javase-3.3.1.jar and core-3.3.1,jar plugins into plugins/servoy_jasperreports folder
added the following line of code in servoy_jasperreports.jar.jnlp file ( you can find it in the plugins folder)
added the following line of code in the plugins.properties file
servoy_jasperreports/core-3.3.1.jar=1637773803110:545396
servoy_jasperreports/javase-3.3.1.jar=1637773812071:41688
Restarted tomcat and the application server.
And yes, we need also the barcode4j-2.1.jar file as murmi said.
Hope it helps