Jump to content
We've recently updated our Privacy Statement, available here ×

SVG Export Version


m.funk

Recommended Posts

Hey everyone.

I'm trying to export a report to pdf using the eclipse plugin Jaspersoft Version 6.6.0final. I can add any given SVG file and in the preview it works just fine.

But when I print it this error will appear "net.sf.jasperreports.engine.JRException: Image read failed."

This is the entire jrxml file:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.6.0.final using JasperReports Library version 6.6.0  -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="fmeaReport_svg_1" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="fb84b3ea-ee9c-48f6-8acb-bfec01a74658">
    <queryString>
        <![CDATA[]]>
    </queryString>
    <title>
        <band height="50"/>
    </title>
    <detail>
        <band height="180">
            <image>
                <reportElement x="1" y="3" width="559" height="167" uuid="65418387-5232-420b-bc81-3024354fd4e3"/>
                <imageExpression><![CDATA["resources/templates/enco/sox2/fmea/Spoiler.svg"]]></imageExpression>
            </image>
        </band>
    </detail>
    <noData>
        <band height="180"/>
    </noData>
</jasperReport>

 

I am using the "jasperreports-6.1.1.jar" file for the export using java, is that the reason? is the version too old? How can I export using 6.1.1, is it possible?
Updating the jar version leads to so many problems I would only do it as a last resort.

 

Thanks!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...