oracle_itself Posted July 23, 2010 Share Posted July 23, 2010 Dear alli am using Oracle JDeveloper, IReport 3.7.4 & JasperReports-3.7.4.jar and i tried to change to old releasesand i did every thing to call Jasper Report and i am getting this errornet.sf.jasperreports.engine.JRException: Error at line 8 char 8: net.sf.jasperreports.engine.design.JRDesignStyle cannot be cast to net.sf.jasperreports.engine.JRBoxand my report xml script is <?xml version="1.0" encoding="UTF-8"?><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="test2" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"><property name="ireport.zoom" value="1.0"/><property name="ireport.x" value="0"/><property name="ireport.y" value="0"/><style name="table"><box><pen lineWidth="1.0" lineColor="#000000"/></box></style><style name="table_TH" mode="Opaque" backcolor="#F0F8FF"><box><pen lineWidth="0.5" lineColor="#000000"/></box></style><style name="table_CH" mode="Opaque" backcolor="#BFE1FF"><box><pen lineWidth="0.5" lineColor="#000000"/></box></style><style name="table_TD" mode="Opaque" backcolor="#FFFFFF"><box><pen lineWidth="0.5" lineColor="#000000"/></box></style><subDataset name="Table Dataset 1"/><queryString><![CDATA[sELECTbooks."BOOK_ID" AS books_BOOK_ID,books."TITLE" AS books_TITLE,books."PUB_DTG" AS books_PUB_DTGFROMbooks]]></queryString><field name="BOOKS_BOOK_ID" class="java.math.BigDecimal"/><field name="BOOKS_TITLE" class="java.lang.String"/><field name="BOOKS_PUB_DTG" class="java.sql.Timestamp"/><background><band splitType="Stretch"/></background><title><band height="79" splitType="Stretch"><frame><reportElement x="0" y="0" width="555" height="79"/><staticText><reportElement x="220" y="25" width="100" height="20"/><textElement/><text><![CDATA[Welcome]]></text></staticText></frame></band></title><pageHeader><band height="35" splitType="Stretch"/></pageHeader><columnHeader><band height="61" splitType="Stretch"><textField><reportElement x="0" y="0" width="100" height="20"/><textElement/><textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{BOOKS_BOOK_ID}]]></textFieldExpression></textField></band></columnHeader><detail><band height="125" splitType="Stretch"/></detail><columnFooter><band height="45" splitType="Stretch"/></columnFooter><pageFooter><band height="54" splitType="Stretch"/></pageFooter><summary><band height="42" splitType="Stretch"/></summary></jasperReport> can any one help me ? Link to comment Share on other sites More sharing options...
lucianc Posted July 29, 2010 Share Posted July 29, 2010 oracle_itselfWrote: i tried to change to old releases What exactly does that mean?Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now