You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I have a mod that saves certain information in a given location. The database is on the VDS server. I specified the IP with the port, user and password. As a result, I get this error:
[29.01.2025 17:19:15.839] [modloading-worker-4/INFO] [STDERR/]: [org.75ms.logger.Logger:<init>:37]: MariaDB JDBC Driver not found.
[29.01.2025 17:19:15.840] [modloading-worker-4/INFO] [STDERR/]: [org.75ms.logger.Logger:<init>:38]: java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver
Connection details:
private static final String DB_URL = "jdbc:mariadb://[ip]:3306/cmd";
private static final String DB_USER = "[user]";
private static final String DB_PASSWORD = "[password]";
private Connection connection;
In Gradle the following dependency is specified:
dependencies {
minecraft 'net.minecraftforge:forge:1.16.5-36.2.42'
implementation 'org.mariadb.jdbc:mariadb-java-client:3.5.1'
}
It is always a Registry Object not present error - with removing mods, just new mods are mentioned
Does a pre-configured modpack work? Maybe use such a modpack as working base and add new mods one by one
How much RAM do you have allocated? (JVM-Arguments)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.