我想在Grails上使用BIRT报告,但是当我安装birt-report插件时,它不完整并返回错误。你能帮助我使用BIRT报告并在GSP页面上显示BIRT报告查看器吗?
此错误:
Installing BIRT v2.5.0 OSGI Platform libraries into C:/Users/Dev/.grails/1.3.4/projects/TestBirt/plugins/birt-report-1.0/lib ...
[get] Getting: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] To: C:\Users\Dev\.grails\1.3.4\download\birt-runtime-2_5_0.zip
[get] Error opening connection java.io.FileNotFoundException: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] Error opening connection java.io.FileNotFoundException: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] Error opening connection java.io.FileNotFoundException: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] Can't get http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip to C:\Users\Dev\.grails\1.3.4\download\birt-runtime-2_5_0.zip
Error installing plugin: Can't get http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip to C:\Users\Dev\.grails\1.3.4\download\birt-runtime-2_5_0.zip
[delete] Deleting directory C:\Users\Dev\.grails\1.3.4\projects\TestBirt\plugins\birt-report-1.0
答案 0 :(得分:0)
看起来这是插件的一个错误,以及它如何指示Grails获取相应的包。我也尝试安装它并收到同样的错误:
> grails install-plugin birt-report
...
Installing BIRT v2.5.0 OSGI Platform libraries into /root/.grails/1.2.3/projects/robapp/plugins/birt-report-1.0/lib ...
[get] Getting: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] To: /root/.grails/1.2.3/download/birt-runtime-2_5_0.zip
[get] Error opening connection java.io.FileNotFoundException: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] Error opening connection java.io.FileNotFoundException: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] Error opening connection java.io.FileNotFoundException: http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip
[get] Can't get http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip to /root/.grails/1.2.3/download/birt-runtime-2_5_0.zip
: Can't get http://mirror.netcologne.de/eclipse/birt/downloads/drops/R-R1-2_5_0-200906180630/birt-runtime-2_5_0.zip to /root/.grails/1.2.3/download/birt-runtime-2_5_0.zip
看来它正在尝试访问的程序包(R-R1-2_5_0-200906180630)不可用here。
您可以使用插件here报告错误。
修改:
看起来你(或某人)确实报告了a bug,而且显然已经修复了。