Hi,

I am new to jasper report. I created two reports(one tabular and one
graphical) with ireport. I am using jrxml file (generated by ireport) and
executing that with my java code. The tabular report is running fine but
while i try to run graphical report its throwing an exception - 


"Could not create the report org.xml.sax.SAXParseException:
cvc-complex-type.2.4.a: Invalid content was found starting with element
'itemLabel'. One of
'{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression,
"http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat,
"http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression,
"http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat,
"http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression,
"http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression,
"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression,
"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}'
is expected. org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'itemLabel'. One of
'{"http://jasperreports.sourceforge.net/jasperreports":categoryAxisLabelExpression,
"http://jasperreports.sourceforge.net/jasperreports":categoryAxisFormat,
"http://jasperreports.sourceforge.net/jasperreports":valueAxisLabelExpression,
"http://jasperreports.sourceforge.net/jasperreports":valueAxisFormat,
"http://jasperreports.sourceforge.net/jasperreports":domainAxisMinValueExpression,
"http://jasperreports.sourceforge.net/jasperreports":domainAxisMaxValueExpression,
"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMinValueExpression,
"http://jasperreports.sourceforge.net/jasperreports":rangeAxisMaxValueExpression}'
is expected."


Please help me in resolving this issue. I think some jars are missing.


Thanks
-- 
View this message in context: 
http://www.nabble.com/Graphical-report-not-working-with-jasper-report-tp25466341p25466341.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to