Grails的JasperReports插件:获取“没有这样的报告规范”例外

时间:2021-02-02 21:05:21

I am testing the jaspergrails plugin for Grails. I am following the tutorial for this plugin. I've created a trivial jasper report and I've put it under web-app\plugins\jasper-0.9.5\reports\all-races.jasper

我正在测试Grails的jaspergrails插件。我正在关注这个插件的教程。我创建了一个简单的jasper报告,我把它放在web-app \ plugins \ jasper-0.9.5 \ reports \ all-races.jasper下

I am getting an exception

我得到一个例外

Error 500: java.lang.Exception: No such report spec: reports\all-races.jasper or .jrxml

错误500:java.lang.Exception:没有此类报告规范:reports \ all-races.jasper或.jrxml

Any hint why?

任何暗示为什么?

thanks a lot in advance.

非常感谢提前。

Luis

1 个解决方案

#1


Try to put the .jasper file under web-app/reports/ instead.

尝试将.jasper文件放在web-app / reports /下。

#1


Try to put the .jasper file under web-app/reports/ instead.

尝试将.jasper文件放在web-app / reports /下。