Sample xchartcomponent does not compile

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

I downloaded jasperreports-6.19.1-project.zip and unpacked it.

Then I went to the folder

/home/mschreiber/workspace/jasperreports-6.19.1/demo/samples/xchartcomponent

and issued an "ant compile" command:

mschreiber@ubuntu:~/workspace/jasperreports-6.19.1/demo/samples/xchartcomponent$ ant compile
Buildfile: /home/mschreiber/workspace/jasperreports-6.19.1/demo/samples/xchartcomponent/build.xml
 
compile:
 
prepare-compile-classpath:
 
compile:
    [mkdir] Created dir: /home/mschreiber/workspace/jasperreports-6.19.1/build/classes
[ivy:configure] :: Apache Ivy 2.4.0 - 20141213170938 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /home/mschreiber/workspace/jasperreports-6.19.1/ivysettings.xml
    [javac] Compiling 2790 source files to /home/mschreiber/workspace/jasperreports-6.19.1/build/classes
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:39: warning: [deprecation] Query in org.hibernate has been deprecated
    [javac] import org.hibernate.Query;
    [javac]                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/FlashHtmlHandler.java:29: warning: [deprecation] FlashUtils in net.sf.jasperreports.engine.util has been deprecated
    [javac] import net.sf.jasperreports.engine.util.FlashUtils;
    [javac]                                        ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/util/FlashUtils.java:32: warning: [deprecation] FlashPrintElement in net.sf.jasperreports.engine.export has been deprecated
    [javac] import net.sf.jasperreports.engine.export.FlashPrintElement;
    [javac]                                          ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/j2ee/servlets/Xml4SwfServlet.java:28: warning: [deprecation] JRXml4SwfExporter in net.sf.jasperreports.engine.export has been deprecated
    [javac] import net.sf.jasperreports.engine.export.JRXml4SwfExporter;
    [javac]                                          ^
    [javac] warning: No description found for net.sf.jasperreports.components.table.accessible
    [javac] warning: No description found for net.sf.jasperreports.export.accessibility.tag
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:39: warning: [deprecation] Query in org.hibernate has been deprecated
    [javac] import org.hibernate.Query;
    [javac]                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/FlashHtmlHandler.java:29: warning: [deprecation] FlashUtils in net.sf.jasperreports.engine.util has been deprecated
    [javac] import net.sf.jasperreports.engine.util.FlashUtils;
    [javac]                                        ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/util/FlashUtils.java:32: warning: [deprecation] FlashPrintElement in net.sf.jasperreports.engine.export has been deprecated
    [javac] import net.sf.jasperreports.engine.export.FlashPrintElement;
    [javac]                                          ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/j2ee/servlets/Xml4SwfServlet.java:28: warning: [deprecation] JRXml4SwfExporter in net.sf.jasperreports.engine.export has been deprecated
    [javac] import net.sf.jasperreports.engine.export.JRXml4SwfExporter;
    [javac]                                          ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:39: warning: [deprecation] Query in org.hibernate has been deprecated
    [javac] import org.hibernate.Query;
    [javac]                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/FlashHtmlHandler.java:29: warning: [deprecation] FlashUtils in net.sf.jasperreports.engine.util has been deprecated
    [javac] import net.sf.jasperreports.engine.util.FlashUtils;
    [javac]                                        ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/util/FlashUtils.java:32: warning: [deprecation] FlashPrintElement in net.sf.jasperreports.engine.export has been deprecated
    [javac] import net.sf.jasperreports.engine.export.FlashPrintElement;
    [javac]                                          ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/j2ee/servlets/Xml4SwfServlet.java:28: warning: [deprecation] JRXml4SwfExporter in net.sf.jasperreports.engine.export has been deprecated
    [javac] import net.sf.jasperreports.engine.export.JRXml4SwfExporter;
    [javac]                                          ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/chrome/ResourceManager.java:308: warning: [deprecation] finalize() in Object has been deprecated
    [javac]         protected void finalize()
    [javac]                        ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/compilers/JavaScriptClassLoader.java:139: warning: [deprecation] finalize() in Object has been deprecated
    [javac]     protected void finalize() throws Throwable
    [javac]                    ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/compilers/JavaScriptClassLoader.java:141: warning: [deprecation] finalize() in Object has been deprecated
    [javac]         super.finalize();
    [javac]              ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/JRAbstractExporter.java:81: warning: [deprecation] JRExporter in net.sf.jasperreports.engine has been deprecated
    [javac] public abstract class JRAbstractExporter<RC extends ReportExportConfiguration, C extends ExporterConfiguration, O extends ExporterOutput, E extends JRExporterContext> implements JRExporter<ExporterInput, RC, C, O>
    [javac]                                                                                                                                                                                   ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/JRAbstractExporter.java:81: warning: [deprecation] JRExporter in net.sf.jasperreports.engine has been deprecated
    [javac] public abstract class JRAbstractExporter<RC extends ReportExportConfiguration, C extends ExporterConfiguration, O extends ExporterOutput, E extends JRExporterContext> implements JRExporter<ExporterInput, RC, C, O>
    [javac]                                                                                                                                                                                   ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/JRAbstractExporter.java:81: warning: [deprecation] JRExporter in net.sf.jasperreports.engine has been deprecated
    [javac] public abstract class JRAbstractExporter<RC extends ReportExportConfiguration, C extends ExporterConfiguration, O extends ExporterOutput, E extends JRExporterContext> implements JRExporter<ExporterInput, RC, C, O>
    [javac]                                                                                                                                                                                   ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/JRAbstractExporter.java:81: warning: [deprecation] JRExporter in net.sf.jasperreports.engine has been deprecated
    [javac] public abstract class JRAbstractExporter<RC extends ReportExportConfiguration, C extends ExporterConfiguration, O extends ExporterOutput, E extends JRExporterContext> implements JRExporter<ExporterInput, RC, C, O>
    [javac]                                                                                                                                                                                   ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/JRAbstractExporter.java:81: warning: [deprecation] JRExporter in net.sf.jasperreports.engine has been deprecated
    [javac] public abstract class JRAbstractExporter<RC extends ReportExportConfiguration, C extends ExporterConfiguration, O extends ExporterOutput, E extends JRExporterContext> implements JRExporter<ExporterInput, RC, C, O>
    [javac]                                                                                                                                                                                   ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/JRAbstractExporter.java:81: warning: [deprecation] JRExporter in net.sf.jasperreports.engine has been deprecated
    [javac] public abstract class JRAbstractExporter<RC extends ReportExportConfiguration, C extends ExporterConfiguration, O extends ExporterOutput, E extends JRExporterContext> implements JRExporter<ExporterInput, RC, C, O>
    [javac]                                                                                                                                                                                   ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/JRPdfExporter.java:903: warning: [deprecation] getPackage(String) in Package has been deprecated
    [javac]                 creator = "JasperReports Library version " + Package.getPackage("net.sf.jasperreports.engine").getImplementationVersion();
    [javac]                                                                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/JRHyperlinkHelper.java:95: warning: [deprecation] getValue() in HyperlinkTargetEnum has been deprecated
    [javac]         return getHyperlinkTargetValue(hyperlink.getLinkTarget()).getValue();
    [javac]                                                                  ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:132: warning: [deprecation] Query in org.hibernate has been deprecated
    [javac]     private Query query;
    [javac]             ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:132: warning: [deprecation] Query in org.hibernate has been deprecated
    [javac]     private Query query;
    [javac]             ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:132: warning: [deprecation] Query in org.hibernate has been deprecated
    [javac]     private Query query;
    [javac]             ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:271: warning: [deprecation] createFilter(Object,String) in Session has been deprecated
    [javac]             query = session.createFilter(filterCollection, queryString);
    [javac]                            ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:338: warning: [deprecation] getClassMetadata(Class) in SessionFactory has been deprecated
    [javac]             if (session.getSessionFactory().getClassMetadata(clazz) != null) //param type is a hibernate mapped entity
    [javac]                                            ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:340: warning: [deprecation] setEntity(String,Object) in Query has been deprecated
    [javac]                 query.setEntity(hqlParamName, parameterValue);
    [javac]                      ^
    [javac]   where R is a type-variable:
    [javac]     R extends Object declared in interface Query
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:412: warning: [deprecation] getReturnTypes() in Query has been deprecated
    [javac]         return query.getReturnTypes();
    [javac]                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/query/JRHibernateQueryExecuter.java:423: warning: [deprecation] getReturnAliases() in Query has been deprecated
    [javac]         return query.getReturnAliases();
    [javac]                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/util/FileBufferedOutputStream.java:256: warning: [deprecation] finalize() in Object has been deprecated
    [javac]     protected void finalize() throws Throwable //NOSONAR 
    [javac]                    ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/util/FileBufferedOutputStream.java:259: warning: [deprecation] finalize() in Object has been deprecated
    [javac]         super.finalize();
    [javac]              ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/JRXlsExporter.java:357: warning: [deprecation] getPackage(String) in Package has been deprecated
    [javac]             application = "JasperReports Library version " + Package.getPackage("net.sf.jasperreports.engine").getImplementationVersion();
    [javac]                                                                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/ooxml/BaseFontHelper.java:122: warning: [deprecation] Integer(int) in Integer has been deprecated
    [javac]             rIdf = "rIdf" + new Integer(fontPaths.size() + 1);
    [javac]                             ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/ooxml/JRDocxExporter.java:384: warning: [deprecation] getPackage(String) in Package has been deprecated
    [javac]             application = "JasperReports Library version " + Package.getPackage("net.sf.jasperreports.engine").getImplementationVersion();
    [javac]                                                                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/ooxml/JRPptxExporter.java:390: warning: [deprecation] getPackage(String) in Package has been deprecated
    [javac]             application = "JasperReports Library version " + Package.getPackage("net.sf.jasperreports.engine").getImplementationVersion();
    [javac]                                                                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/export/ooxml/JRXlsxExporter.java:1707: warning: [deprecation] getPackage(String) in Package has been deprecated
    [javac]                 application = "JasperReports Library version " + Package.getPackage("net.sf.jasperreports.engine").getImplementationVersion();
    [javac]                                                                         ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/fill/JRAbstractLRUVirtualizer.java:621: warning: [deprecation] finalize() in Object has been deprecated
    [javac]     protected void finalize() throws Throwable //NOSONAR
    [javac]                    ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/fill/JRAbstractLRUVirtualizer.java:625: warning: [deprecation] finalize() in Object has been deprecated
    [javac]         super.finalize();
    [javac]              ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/util/JRSwapFile.java:258: warning: [deprecation] finalize() in Object has been deprecated
    [javac]     protected void finalize() throws Throwable //NOSONAR
    [javac]                    ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/util/JRSwapFile.java:261: warning: [deprecation] finalize() in Object has been deprecated
    [javac]         super.finalize();
    [javac]              ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/fonts/SimpleFontFace.java:201: warning: [deprecation] finalize() in Object has been deprecated
    [javac]     protected void finalize()
    [javac]                    ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/json/parser/JsonQueryLexer.java:77: warning: [deprecation] Integer(int) in Integer has been deprecated
    [javac]     literals.put(new ANTLRHashString("null", this), new Integer(48));
    [javac]                                                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/json/parser/JsonQueryLexer.java:78: warning: [deprecation] Integer(int) in Integer has been deprecated
    [javac]     literals.put(new ANTLRHashString("true", this), new Integer(49));
    [javac]                                                     ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/engine/json/parser/JsonQueryLexer.java:79: warning: [deprecation] Integer(int) in Integer has been deprecated
    [javac]     literals.put(new ANTLRHashString("false", this), new Integer(50));
    [javac]                                                      ^
    [javac] /home/mschreiber/workspace/jasperreports-6.19.1/src/net/sf/jasperreports/phantomjs/PhantomJS.java:213: warning: [deprecation] finalize() in Object has been deprecated
    [javac]     protected void finalize()
    [javac]                    ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 49 warnings
     [copy] Copying 94 files to /home/mschreiber/workspace/jasperreports-6.19.1/build/classes
     [exec] Result: 128
     [copy] Copying 1 file to /home/mschreiber/workspace/jasperreports-6.19.1/build/classes
[ivy:configure] :: loading settings :: file = /home/mschreiber/workspace/jasperreports-6.19.1/ivysettings.xml
 
compile:
    [mkdir] Created dir: /home/mschreiber/workspace/jasperreports-6.19.1/demo/samples/xchartcomponent/build/reports
      [jrc] Compiling 1 report design files.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.jasperreports.engine.util.ClassUtils (file:/home/mschreiber/workspace/jasperreports-6.19.1/build/classes/) to constructor com.sun.org.apache.xerces.internal.util.XMLGrammarPoolImpl()
WARNING: Please consider reporting this to the maintainers of net.sf.jasperreports.engine.util.ClassUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
File : /home/mschreiber/workspace/jasperreports-6.19.1/demo/samples/xchartcomponent/reports/XYChart.jrxml ... 
 
BUILD FAILED
/home/mschreiber/workspace/jasperreports-6.19.1/demo/samples/xchartcomponent/build.xml:15: The following error occurred while executing this line:
/home/mschreiber/workspace/jasperreports-6.19.1/demo/samples/build.xml:87: net.sf.jasperreports.engine.JRRuntimeException: Unknown entity http://jasperreports.sourceforge.net/dtds/xchart.xsd, not loading.
    at net.sf.jasperreports.engine.xml.JRXmlDigester.resolveEntity(JRXmlDigester.java:232)
    at java.xml/com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:111)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:1133)
    at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:662)
    at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2694)
    at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.getGlobalElementDecl(XMLSchemaValidator.java:1639)
    at java.xml/com.sun.org.apache.xerces.internal.impl.xs.SubstitutionGroupHandler.getMatchingElemDecl(SubstitutionGroupHandler.java:77)
    at java.xml/com.sun.org.apache.xerces.internal.impl.xs.models.XSDFACM.oneTransition(XSDFACM.java:302)
    at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1934)
    at java.xml/com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:829)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2710)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
    at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:534)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
    at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
    at org.apache.commons.digester.Digester.parse(Digester.java:1892)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:269)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:256)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:245)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:207)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:185)
    at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:176)
    at net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:254)
    at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:404)
    at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
    at org.apache.tools.ant.Task.perform(Task.java:350)
    at org.apache.tools.ant.Target.execute(Target.java:449)
    at org.apache.tools.ant.Target.performTasks(Target.java:470)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
    at org.apache.tools.ant.Task.perform(Task.java:350)
    at org.apache.tools.ant.Target.execute(Target.java:449)
    at org.apache.tools.ant.Target.performTasks(Target.java:470)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1254)
    at org.apache.tools.ant.Main.runBuild(Main.java:830)
    at org.apache.tools.ant.Main.startAnt(Main.java:223)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
 
Total time: 17 seconds

The build fails with the error message "Unknown entity http://jasperreports.sourceforge.net/dtds/xchart.xsd, not loading."

Is there anything I can do to fix it?

markus.schreiber's picture
Joined: May 17 2022 - 3:01am
Last seen: 1 month 1 week ago

0 Answers:

No answers yet
Feedback