17:37:40,812  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,812  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,812  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,812  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,828  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,828  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,828  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,828  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.
17:37:40,828  WARN JRBandFactory:60 - The 'isSplitAllowed' attribute is deprecated. Use the 'splitType' attribute instead.

解决方案 »

  1.   

    翻译:isSplitAllowed属性已被弃用,请使用splitType替换
      

  2.   

    不是啥错误,是你用了一个不再推荐使用的方法http://jasperreports.sourcearchive.com/documentation/3.7.4plus-pdfsg-1/classnet_1_1sf_1_1jasperreports_1_1engine_1_1design_1_1JRDesignBand_737257cbacbd52134768b58960abcf4e.html#737257cbacbd52134768b58960abcf4e官方文档已经说明了,见上
      

  3.   

    String reportSource = ServletActionContext.getServletContext().getRealPath("/WEB-INF/fms/report/cardid/cradid.jrxml");
    File parent = new File(reportSource).getParentFile();
    JasperCompileManager.compileReportToFile(reportSource, new File(parent,"cradid.jasper").getAbsolutePath());
    代码是这样的,
    jasperreports-3.7.6.jar