Jasper-org.xml.sax.SAXParseException:cvc-complex-type.2.1:元素'属性'必须没有字符

时间:2018-08-27 18:17:30

标签: jasper-reports jaspersoft-studio

Jaspersoft Studio 6.5.1.final和与JasperReport 4.7.0的兼容性

由于某些未知原因,我试图在JasperServer上运行报表时,在JasperStudio中遇到此错误。我在任何名为“属性”的报告文件中都没有元素,因此很难缩小范围。

完整堆栈跟踪:

    java.lang.Exception: The Server has returned an error with code 1 and with the
message org.xml.sax.SAXParseException: cvc-complex-type.2.1: Element 'property' must have no character or element information item [children], because the type's content type is empty.
    at com.jaspersoft.ireport.jasperserver.ws.WSClient.runReport(WSClient.java:421)
    at com.jaspersoft.studio.server.protocol.soap.SoapConnection.runReport(SoapConnection.java:416)
    at com.jaspersoft.studio.server.protocol.ProxyConnection.runReport(ProxyConnection.java:412)
    at com.jaspersoft.studio.server.WSClientHelper.runReportUnit(WSClientHelper.java:464)
    at com.jaspersoft.studio.server.editor.ReportRunControler$2.run(ReportRunControler.java:194)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

编译报告不起作用,但是不返回任何错误,也不显示在错误日志中。该报告已在几周前开始运行,并且尚未对其进行任何更改,也未对其中的任何子报告进行任何更改。

0 个答案:

没有答案