我收到错误“未知超链接目标0”当我尝试运行Jasper报告时 [英] I am getting an error "unknown hyperlink target 0" when I try to run a Jasper Report

查看:85
本文介绍了我收到错误“未知超链接目标0”当我尝试运行Jasper报告时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近注意到我运行的Jasper报告出了问题,所以我下载了最新版本的iReports,用iReports编辑了.jrxml文件,并编译它以生成一个新的.jasper文件。现在,当我尝试运行报告时,我得到一个奇怪的错误未知的超链接目标0。这是怎么回事?

I recently noticed that something was wrong with a Jasper Report I was running, so I downloaded the latest version of iReports, edited the .jrxml file with iReports, and compiled it to generate a new .jasper file. Now, when I try to run the report, I get a weird error "unknown hyperlink target 0". What's going on?

推荐答案

我不知道这是否是这个错误发生的唯一原因,但在我的情况下,我汇编了报告使用iReport-3.7.3,但我用来运行报告的软件使用jasperreports-3.6.2.jar。一旦我用jasperreports-3.7.3.jar替换了jar文件,报告就开心了。结果证明是版本不兼容。

I don't know if this is the only reason this error would happen, but in my case, I compiled the report with iReport-3.7.3, but the software I am using to run the report uses jasperreports-3.6.2.jar. Once I replaced the jar file with jasperreports-3.7.3.jar, the report ran happily. It turned out to be a version incompatibility.

这篇关于我收到错误“未知超链接目标0”当我尝试运行Jasper报告时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆