Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error filling reportResource not found at: Beneficios.jasper. #2

Closed
cavajr opened this issue Mar 8, 2017 · 1 comment
Closed

Error filling reportResource not found at: Beneficios.jasper. #2

cavajr opened this issue Mar 8, 2017 · 1 comment

Comments

@cavajr
Copy link

cavajr commented Mar 8, 2017

Tenho um relatório que possui um subreport. Ao tentar executar
$report = new JasperPHP();

    $report->process(
        public_path() . '/report/clientes.jrxml', //input 
        public_path() . '/report/'.time().'_clientes', //output
        ['pdf'], //formats
        array("cliente"  => 2), //parameters
        Config::get('database.connections.mysql'), //data_source
        'pt_BR'  //locale
        )->output();
    
    dd($report);

Apresentar o seguinte erro:
Error filling reportResource not found at: Beneficios.jasper.

Os dois arquivos .jrxml estão na mesma pasta. Como resolver?

@geekcom
Copy link
Contributor

geekcom commented Apr 3, 2017

Por favor use a versão mais atualizada do fork:
https://github.com/geekcom/phpjasper

@geekcom geekcom closed this as completed Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants