JasperReports NoClassDefFoundError exception on net.sf.jasperreports.engine.util.JRStyledTextParser

后端 未结 11 1484
旧巷少年郎
旧巷少年郎 2020-12-01 06:26

When trying to export on WebLogic 11g, it throws NoClassDefFound exception. I checked the application WAR and jasperreports-3.7.4.jar is included in WEB-INF/lib folder. What

11条回答
  •  悲哀的现实
    2020-12-01 07:17

    This was due to a missing font. I was able to resolve this by installing fontconfig and urw-fonts packages.

    yum install fontconfig
    yum install urw-fonts
    

    After that you can check supported fonts using command

    fc-list
    

    If the reports are still not generated you may need to reboot the server.

提交回复
热议问题