I'm creating a project using JasperReport. When I compile it in Release or Debug mode, it compiles and runs fine. However, when I use the Build Standalone Package, I get these errors:
Note: The same project created in Java using the Jasper library compiles and runs correctly.
Best Regards
Errors in Build Standalone Package compilation ::
Exe name: jasper-test.exe
build folder: E:\B4J JasperReport\B4J\Objects\temp\build
InputJar: E:\B4J JasperReport\B4J\Objects\result.jar
Running: E:\B4J JasperReport\B4J\Objects\temp\FindDosPath.exe
Running: D:\java\jdk-19.0.2\bin\jar
Package name: b4j.jasper
Running: D:\java\jdk-19.0.2\bin\jdeps
.
.
.
Explicitly excluded modules: [javafx.web]
Included modules: [java.base, java.compiler, java.desktop, java.logging, java.management, java.naming, java.prefs, java.security.jgss, java.sql, java.sql.rowset, java.transaction.xa, java.xml, javafx.base, javafx.controls, javafx.fxml, javafx.graphics, javafx.media, javafx.swing, jdk.xml.dom]
Running: D:\java\jdk-19.0.2\bin\javac
module-info.java:29: error: cannot find symbol
uses org.w3c.dom.DOMImplementationSourceList;
^
symbol: class DOMImplementationSourceList
location: package org.w3c.dom
module-info.java:30: error: cannot find symbol
uses org.xml.sax.driver;
^
symbol: class driver
location: package org.xml.sax
2 errors
Note: The same project created in Java using the Jasper library compiles and runs correctly.
Best Regards