Dav*_*ton 1 java eclipse birt jetty
我正试图在Jetty下设置Birt.我可以得到"祝贺"报告:
http://10.10.11.1:8080/reports/frameset?__report=test.rptdesign&sample=my+parameter
但是,我无法运行任何其他报告.我从"报告"上下文运行BIRT查看器.尝试运行其中一个示例报告(放在与birt.war文件相同的目录中).
以下是我尝试过的内容:http: //10.10.11.1 : 8080 / reports/frameset?__ report = SaleInvoice.rptdesign SalesInvoice.rptdesign与birt.war文件位于同一目录中
http://10.10.11.1:8080/reports/frameset?__report=/templates/SalesInvoice.rptdesign 其中templates是birt上下文的子目录.这导致:
知道我做错了什么吗?
我刚遇到同样的问题,我通过改变解决了它
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22" id="1">
Run Code Online (Sandbox Code Playgroud)
至
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">
Run Code Online (Sandbox Code Playgroud)
我认为这是因为您的Birt Viewer无法呈现以前版本的报告文件,但如果您不使用较新版本的功能,则可以通过手动更改报告版本来呈现报告.
其他解决方案是下载与您当前的Birt Report Designer兼容的更新版本的Birt Viewer.