这是我在控制器中的操作,但它给出了这个错误:
Your report has an error and couldn't be processed!
Try to output the command: C:^^^\xampp^^^\htdocs^^^\pay^^^\vendor^^^\chrmorandi^^^\yii2-jasper^^^\src^^^\Jasper/../JasperStarter/bin/jasperstarter
compile C:^^^\xampp^^^\htdocs^^^\pay/vendor/chrmorandi/yii2-jasper/examp
上面写的是Class 'cossou\JasperPHP\JasperPHP' not found。我使用这个类作为命名空间。
$jasper = new JasperPHP;
//jasper ready to call
$jasper->compile(__DIR__ . '/../../vendor/cossou/jasperphp/examples/hello_world.jrxml')->execute();
// Process a Jasper file to PDF and RTF (you can
我正在使用Jaspersoft Studio (不再使用iReport)从Jasper5.5.x迁移到6.4.0,但我注意到在修改了几个报告之后,JRXML文件没有被修改(至少在.jrxml和.jasper所在的文件夹中没有修改,从它打开的文件夹中是这样)。它们在“工作区”中。如何使Studio将jrxml保存在与.jaspers相同的位置?
您的报告有错误,无法处理!尝试使用函数output();输出命令,并在控制台中手动运行。
这是我的密码:
$jasper = new JasperPHP;
//jasper ready to call
$jasper->compile(__DIR__ . '/../../vendor/cossou/jasperphp/examples/Simple_Blue.jrxml')->execute();
// Process a Jasper file to PDF and RTF (you can use directly t
我面临着一个奇怪的问题,我安装了httpd作为tomcat的反向代理,然后开始面对下面的问题。
org.springframework.context.ApplicationContextException: Could not load JasperReports report from class path resource [static/jasper/rpt_delivery.html.jrxml]; nested exc
eption is java.io.FileNotFoundException: class path resource [static/jasper/rpt_de