hikamaeng
10/04/2024, 3:54 AMorg.xerial:sqlite-jdbc:sqliteJdbc
, the packaging or distribution fails with the error: java.lang.module.FindException: Module java.sql not found, required by main
. Could you help me resolve this?Olivier Patry
10/04/2024, 6:33 AMbuild.gradle(.kts)
, within the compose.desktop.nativeDistributions
section, you can add modules
.
modules(
// for org.apache.logging.log4j.core.LoggerContext
"java.management",
// for DriverManager (required by SQLite JDBC driver)
"java.sql",
)
(these 2 are my personal setup, adjust to your own needs)hikamaeng
10/04/2024, 6:49 AM