Jump to content

net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'textElement'. One of '{"http://jasperreports.sourceforge.net/jasperreports":reportElement}' is expected.


sanikaprasad

Recommended Posts

Getting an error -

net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'textElement'. One of '{"http://jasperreports.sourceforge.net/jasperreports":reportElement}' is expected.

while generating the report using java.

The report works fine using iReport tool,

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...