Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Missing database driver error in v7.1.2 #142

Closed
EpicKnarvik97 opened this issue Nov 24, 2021 · 0 comments
Closed

Missing database driver error in v7.1.2 #142

EpicKnarvik97 opened this issue Nov 24, 2021 · 0 comments
Labels
🚨 bug Something isn't working ✔ fixed This issue has been fixed in the latest build

Comments

@EpicKnarvik97
Copy link

While everything worked fine in version 7.1.0, this error replaces the database error in 7.1.1.
Running on Debian Bullseye amd64 with openjdk 17-ea 2021-09-14.

[01:43:08] [main/INFO] [EpicGuard]: Running on: Waterfall-git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:aba3aff:454
[01:43:08] [main/INFO] [EpicGuard]: Loading configuration...
[01:43:09] [main/INFO] [EpicGuard]: Initializing managers...
[01:43:09] [main/INFO] [EpicGuard]: This product includes GeoLite2 data created by MaxMind, available from https://www.maxmind.com
[01:43:09] [main/INFO] [me.xneox.epicguard.libs.hikari.HikariDataSource]: HikariPool-1 - Starting...
[01:43:09] [main/ERROR] [EpicGuard]: An error occurred in EpicGuard v7.1.2
[01:43:09] [main/ERROR] [EpicGuard]:  > Details: Could not connect to the database. Check if your connection is configured correctly.
[01:43:09] [main/ERROR] [EpicGuard]:  > Platform: Waterfall-git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:aba3aff:454
[01:43:09] [main/ERROR] [EpicGuard]:  > Stacktrace: 
[01:43:09] [main/ERROR] [EpicGuard]: 
java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jdbc:sqlite:plugins/EpicGuard/database.db
	at me.xneox.epicguard.libs.hikari.util.DriverDataSource.<init>(DriverDataSource.java:114) ~[?:?]
	at me.xneox.epicguard.libs.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:326) ~[?:?]
	at me.xneox.epicguard.libs.hikari.pool.PoolBase.<init>(PoolBase.java:112) ~[?:?]
	at me.xneox.epicguard.libs.hikari.pool.HikariPool.<init>(HikariPool.java:93) ~[?:?]
	at me.xneox.epicguard.libs.hikari.HikariDataSource.<init>(HikariDataSource.java:81) ~[?:?]
	at me.xneox.epicguard.core.storage.Database.connect(Database.java:46) ~[?:?]
	at me.xneox.epicguard.core.storage.StorageManager.setupDatabase(StorageManager.java:46) ~[?:?]
	at me.xneox.epicguard.core.EpicGuard.startup(EpicGuard.java:79) ~[?:?]
	at me.xneox.epicguard.core.EpicGuard.<init>(EpicGuard.java:62) ~[?:?]
	at me.xneox.epicguard.waterfall.EpicGuardWaterfall.onEnable(EpicGuardWaterfall.java:41) ~[?:?]
	at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:315) ~[Waterfall1.17.jar:git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:aba3aff:454]
	at net.md_5.bungee.BungeeCord.start(BungeeCord.java:290) ~[Waterfall1.17.jar:git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:aba3aff:454]
	at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:67) ~[Waterfall1.17.jar:git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:aba3aff:454]
	at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[Waterfall1.17.jar:git:Waterfall-Bootstrap:1.17-R0.1-SNAPSHOT:aba3aff:454]
Caused by: java.sql.SQLException: No suitable driver
	at java.sql.DriverManager.getDriver(DriverManager.java:298) ~[java.sql:?]
	at me.xneox.epicguard.libs.hikari.util.DriverDataSource.<init>(DriverDataSource.java:106) ~[?:?]
	... 13 more
[01:43:09] [main/INFO] [EpicGuard]: Initializing LogFilter...
[01:43:09] [main/INFO] [EpicGuard]: Scheduling tasks...
[01:43:09] [main/INFO] [EpicGuard]: Startup completed successfully. Welcome to EpicGuard v7.1.2
[01:43:09] [main/INFO] [EpicGuard]: Order of the detection pipeline: LockdownCheck, BlacklistCheck, NicknameCheck, GeographicalCheck, ServerListCheck, ReconnectCheck, AccountLimitCheck, NameSimilarityCheck, ProxyCheck
[01:43:09] [main/INFO]: Enabled plugin EpicGuard version 7.1.2 by neox
@awumii awumii added ✔ fixed This issue has been fixed in the latest build 🚨 bug Something isn't working labels Dec 6, 2021
@awumii awumii closed this as completed Dec 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚨 bug Something isn't working ✔ fixed This issue has been fixed in the latest build
Projects
None yet
Development

No branches or pull requests

2 participants