尝试预览BIRT报告时java.lang.ClassCastException:java.lang.OutOfMemoryError

时间:2015-12-10 16:33:04

标签: java eclipse birt

我的任务是更新一些BIRT报告,每次我尝试在Eclipse中预览我的BIRT报告时都会出现以下错误:

<form ng-non-bindable> ... </form>

Java版本:1.8.0_25

Tomcat:版本7

Eclipse:Juno Service Release 2 Build id 20130225-0426

我增加了记忆力,但仍然没有。

我在Windows 7上

1 个答案:

答案 0 :(得分:0)

    tomcat / bin / catalina.sh

    中的
  1. 在开头添加以下内容

  2. foreach(range(2014, 2015) as $year){
        foreach(range(1, 12) as $month){
            echo date('Y.m.d', strtotime('Last day of ' . date('F', strtotime($year . '-' . $month . '-01')) . $year)) . PHP_EOL;
        }
    }
    



    按以下方式添加:

    2014.01.31
    2014.02.28
    2014.03.31
    2014.04.30
    ...
    



    现在,重新启动TomCat。看看是否这样做

相关问题