gpt4 book ai didi

java - 出生报告文件路径

转载 作者:行者123 更新时间:2023-11-29 08:19:12 25 4
gpt4 key购买 nike

我正在尝试设置在 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=SalesInvoice.rptdesignSalesInvoice.rptdesign 与 birt.war 文件放在同一目录下

http://10.10.11.1:8080/reports/frameset?__report=/templates/SalesInvoice.rptdesign其中模板是 birt 上下文的子目录。这导致:

  • 没有可用的报表设计对象。

知道我做错了什么吗?

最佳答案

我刚遇到同样的问题,我通过更改解决了

<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22" id="1">

<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">

我认为这是因为您的 Birt Viewer 无法呈现以前版本的报告文件,但如果您不使用较新版本的功能,则可以通过手动更改报告版本来呈现您的报告。

其他解决方案是下载与您当前的 Birt Report Designer 兼容的更新版本的 Birt Viewer。

关于java - 出生报告文件路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1689823/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com