• <i id='qy4NW'><tr id='qy4NW'><dt id='qy4NW'><q id='qy4NW'><span id='qy4NW'><b id='qy4NW'><form id='qy4NW'><ins id='qy4NW'></ins><ul id='qy4NW'></ul><sub id='qy4NW'></sub></form><legend id='qy4NW'></legend><bdo id='qy4NW'><pre id='qy4NW'><center id='qy4NW'></center></pre></bdo></b><th id='qy4NW'></th></span></q></dt></tr></i><div id='qy4NW'><tfoot id='qy4NW'></tfoot><dl id='qy4NW'><fieldset id='qy4NW'></fieldset></dl></div>

      • <bdo id='qy4NW'></bdo><ul id='qy4NW'></ul>

      <small id='qy4NW'></small><noframes id='qy4NW'>

      1. <legend id='qy4NW'><style id='qy4NW'><dir id='qy4NW'><q id='qy4NW'></q></dir></style></legend>
      2. <tfoot id='qy4NW'></tfoot>

      3. JasperReports:java.lang.NoClassDefFoundError:无法初始化类

        时间:2023-09-27

        <tfoot id='sRtk8'></tfoot>

              • <bdo id='sRtk8'></bdo><ul id='sRtk8'></ul>
                <legend id='sRtk8'><style id='sRtk8'><dir id='sRtk8'><q id='sRtk8'></q></dir></style></legend>

                <small id='sRtk8'></small><noframes id='sRtk8'>

                  <i id='sRtk8'><tr id='sRtk8'><dt id='sRtk8'><q id='sRtk8'><span id='sRtk8'><b id='sRtk8'><form id='sRtk8'><ins id='sRtk8'></ins><ul id='sRtk8'></ul><sub id='sRtk8'></sub></form><legend id='sRtk8'></legend><bdo id='sRtk8'><pre id='sRtk8'><center id='sRtk8'></center></pre></bdo></b><th id='sRtk8'></th></span></q></dt></tr></i><div id='sRtk8'><tfoot id='sRtk8'></tfoot><dl id='sRtk8'><fieldset id='sRtk8'></fieldset></dl></div>
                    <tbody id='sRtk8'></tbody>
                1. 本文介绍了JasperReports:java.lang.NoClassDefFoundError:无法初始化类 net.sf.jasperreports.engine.util.JRStyledTextParser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我想与 JasperReports 分享一个或多或少常见错误的经验.

                  I would like to share my experience with a more or less common error with JasperReports.

                  在执行 JasperReports 制作 PDF 报告时,出现异常:

                  When executing JasperReports to make a PDF report, I have an exception :

                  java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
                  net.sf.jasperreports.engine.fill.JRBaseFiller.&lt;init&gt;(JRBaseFiller.java:108)
                  net.sf.jasperreports.engine.fill.JRVerticalFiller.&lt;init&gt;(JRVerticalFiller.java:69)
                  net.sf.jasperreports.engine.fill.JRVerticalFiller.&lt;init&gt;(JRVerticalFiller.java:57)
                  net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:200)
                  net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:215)
                  net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:115)
                  net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:667)
                  net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:983)
                  

                  我的环境:

                  • CentOs 6.6 - 内核 2.6.32-504.el6.x86_64
                  • Java 1.7_79(星期日)
                  • JasperReport 6.2.2
                  • Apache Tomcat 7.0.68

                  同样的问题:

                  • java.lang.NoClassDefFoundError: 无法初始化类 net.sf.jasperreports.engine.util.JRStyledTextParser
                  • http://community.jaspersoft.com/questions/536539/noclassdeffounderror-jrstyledtextparser-initialization-failure

                  我尝试了这些解决方案但没有成功.

                  I tried these solutions without success.

                  推荐答案

                  我在我的开发机器上遇到了同样的问题.基本上是由于应用服务器(Apache tomcat)出现问题

                  I've faced the same issue on my development machine. Basically it was happened due to problem in application server (Apache tomcat)

                  基本上我不小心删除了服务器根目录中的temp"文件夹.所以 jasper 无法编译报告并继续生成报告.

                  Basically I've accidentally deleted the "temp" folder in server root. So jasper cant compile the report and proceed with the report generation.

                  临时文件夹空间也会对报告生成过程造成巨大破坏.

                  Also temp folder space can make a huge damage to report generation process.

                  所以检查服务器中的以下项目

                  So check following items in the server

                  1. 服务器空间
                  2. tomcat 服务器中缺少文件夹

                  这篇关于JasperReports:java.lang.NoClassDefFoundError:无法初始化类 net.sf.jasperreports.engine.util.JRStyledTextParser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Java 8、JCE 无限强度策略和基于 TLS 的 SSL 握手 下一篇:无法使用 yum 或 rpm 在 Fedora 上安装 jdk

                  相关文章

                  最新文章

                  <i id='5ROY1'><tr id='5ROY1'><dt id='5ROY1'><q id='5ROY1'><span id='5ROY1'><b id='5ROY1'><form id='5ROY1'><ins id='5ROY1'></ins><ul id='5ROY1'></ul><sub id='5ROY1'></sub></form><legend id='5ROY1'></legend><bdo id='5ROY1'><pre id='5ROY1'><center id='5ROY1'></center></pre></bdo></b><th id='5ROY1'></th></span></q></dt></tr></i><div id='5ROY1'><tfoot id='5ROY1'></tfoot><dl id='5ROY1'><fieldset id='5ROY1'></fieldset></dl></div>

                  1. <tfoot id='5ROY1'></tfoot>
                        <bdo id='5ROY1'></bdo><ul id='5ROY1'></ul>
                      <legend id='5ROY1'><style id='5ROY1'><dir id='5ROY1'><q id='5ROY1'></q></dir></style></legend>
                    1. <small id='5ROY1'></small><noframes id='5ROY1'>