JDK 8是否支持JasperReports 6? [英] Does JDK 8 supports JasperReports 6?
问题描述
我一直试图让我的报告工作几天但仍然没有运气。我不知道依赖项是否有问题。
I've been trying to get my report working for few days but still no luck. I have no idea if it's something wrong with the dependencies.
无论如何我只是想知道是否有人有使用JasperReports 6和JDK 8?毕竟我怀疑这些是否兼容。
推荐答案
我在尝试几天后才发现问题。
我的报告不起作用不是因为不兼容问题。但是因为我没有使用
I just figured out the issue after trying few days. My report didn't work not due to an incompatibility issue. But because i haven't used
JasperPrint jp = JasperFillManager.fillReport(jr, param, new JREmptyDataSource());
而不是
JasperPrint jp = JasperFillManager.fillReport(jr, param);
是的。 JDK 8与JasperReports 6兼容。
Yes. JDK 8 is compatible with JasperReports 6.
JasperReports没有足够的社区支持我必须自己解决这个问题。无论如何,我建议JasperReports库应该有很大改进。
JasperReports doesn't have enough community support i had to figure this out by my self. Anyway i suggest that JasperReports library should be much improved.
这篇关于JDK 8是否支持JasperReports 6?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!