bivashy / MC-Auth-with-Link

Fork of mc-auth. Added multiple ways to link
Eclipse Public License 2.0
31 stars 9 forks source link

[Bug] SQLite compatibility with latest Velocity #186

Open OurLobanov opened 4 days ago

OurLobanov commented 4 days ago

[11:57:52 INFO]: 2024-06-29 11:57:52,910 [WARNING] SqliteDatabaseType Driver class was not found for SQLite database. Class not found: org.sqlite.JDBC [11:57:52 ERROR]: java.sql.SQLException: No suitable driver [11:57:52 ERROR]: at java.sql/java.sql.DriverManager.getDriver(DriverManager.java:300) [11:57:52 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.BaseJdbcConnectionSource.initialize(BaseJdbcConnectionSource.java:104) [11:57:52 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.initialize(JdbcPooledConnectionSource.java:88) [11:57:52 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcConnectionSource.(JdbcConnectionSource.java:104) [11:57:52 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.(JdbcPooledConnectionSource.java:83) [11:57:52 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.(JdbcPooledConnectionSource.java:78) [11:57:52 ERROR]: at me.mastercapexd.auth.database.DatabaseHelper.lambda$new$2(DatabaseHelper.java:70) [11:57:52 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [11:57:52 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [11:57:52 ERROR]: at java.base/java.lang.Thread.run(Thread.java:1583)

bivashy commented 4 days ago

SQLite driver didn't load, we need more info.

OurLobanov commented 4 days ago

SQLite driver didn't load, we need more info.

I have nothing more not to withdraw

OurLobanov commented 4 days ago

[12:51:33 INFO]: Booting up Velocity 3.3.0-SNAPSHOT (git-9d25d309-b400)... [12:51:33 INFO]: Loading localizations... [12:51:33 INFO]: Connections will use epoll channels, libdeflate (Linux x86_64) compression, OpenSSL 3.0.x (Linux x86_64) ciphers [12:51:33 INFO]: Loading plugins... [12:51:33 INFO]: Loaded plugin mcauth 1.8.0-beta.1 by bivashy [12:51:33 INFO]: Loaded 1 plugins

[12:51:33 INFO]: Done (0.85s)! [12:51:34 INFO]: 2024-06-29 12:51:34,117 [WARNING] SqliteDatabaseType Driver class was not found for SQLite database. Class not found: org.sqlite.JDBC [12:51:34 ERROR]: java.sql.SQLException: No suitable driver [12:51:34 ERROR]: at java.sql/java.sql.DriverManager.getDriver(DriverManager.java:300) [12:51:34 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.BaseJdbcConnectionSource.initialize(BaseJdbcConnectionSource.java:104) [12:51:34 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.initialize(JdbcPooledConnectionSource.java:88) [12:51:34 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcConnectionSource.(JdbcConnectionSource.java:104) [12:51:34 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.(JdbcPooledConnectionSource.java:83) [12:51:34 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.(JdbcPooledConnectionSource.java:78) [12:51:34 ERROR]: at me.mastercapexd.auth.database.DatabaseHelper.lambda$new$2(DatabaseHelper.java:70) [12:51:34 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [12:51:34 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [12:51:34 ERROR]: at java.base/java.lang.Thread.run(Thread.java:1583)

OurLobanov commented 4 days ago

[INFO] [INFO] --- shade:3.5.1:shade (default) @ velocity --- [INFO] Including me.mastercapexd.auth:core:jar:1.8.0-beta.1 in the shaded jar. [INFO] Including com.bivashy.auth:api:jar:1.8.0-beta.1 in the shaded jar. [INFO] Including com.github.bivashy.MultiMessenger:common:jar:1.0.5 in the shaded jar. [INFO] Including com.github.bivashy.MultiMessenger:vk:jar:1.0.5 in the shaded jar. [INFO] Including com.github.bivashy.MultiMessenger:telegram:jar:1.0.5 in the shaded jar. [INFO] Including com.github.bivashy.MultiMessenger:discord:jar:1.0.5 in the shaded jar. [INFO] Including com.j256.ormlite:ormlite-jdbc:jar:6.1 in the shaded jar. [INFO] Including com.warrenstrange:googleauth:jar:1.5.0 in the shaded jar. [INFO] Including commons-codec:commons-codec:jar:1.14 in the shaded jar. [INFO] Including org.apache.httpcomponents:httpclient:jar:4.5.12 in the shaded jar. [INFO] Including org.apache.httpcomponents:httpcore:jar:4.4.13 in the shaded jar. [INFO] Including commons-logging:commons-logging:jar:1.2 in the shaded jar. [INFO] Including com.github.Revxrsal:EventBus:jar:1.3 in the shaded jar. [INFO] Including com.github.bivashy.ConfigurationLibrary:core:jar:4.0.2 in the shaded jar. [INFO] Including org.mindrot:jbcrypt:jar:0.4 in the shaded jar. [INFO] Including com.google.zxing:core:jar:3.5.3 in the shaded jar. [INFO] Including com.google.zxing:javase:jar:3.5.3 in the shaded jar. [INFO] Including com.beust:jcommander:jar:1.82 in the shaded jar. [INFO] Including com.github.jai-imageio:jai-imageio-core:jar:1.4.0 in the shaded jar. [INFO] Including com.github.bivashy.ConfigurationLibrary:configurate:jar:4.0.2 in the shaded jar. [INFO] Including org.spongepowered:configurate-core:jar:4.1.2 in the shaded jar. [INFO] Including io.leangen.geantyref:geantyref:jar:1.3.11 in the shaded jar. [INFO] Including com.google.errorprone:error_prone_annotations:jar:2.6.0 in the shaded jar. [INFO] Including org.spongepowered:configurate-yaml:jar:4.1.2 in the shaded jar. [INFO] Including org.yaml:snakeyaml:jar:1.28 in the shaded jar. [INFO] Including com.github.Revxrsal.Lamp:common:jar:3.1.8 in the shaded jar. [INFO] Including com.github.bivashy:VkLampModule:jar:1.0.0 in the shaded jar. [INFO] Including com.github.bivashy:TelegramLampModule:jar:1.0.0 in the shaded jar. [INFO] Including com.github.Revxrsal.Lamp:jda:jar:3.1.8 in the shaded jar. [INFO] Including com.password4j:password4j:jar:1.7.3 in the shaded jar. [INFO] Including ru.vyarus:yaml-config-updater:jar:1.4.2 in the shaded jar. [INFO] Including org.checkerframework:checker-qual:jar:3.6.1 in the shaded jar. [INFO] Including org.ow2.asm:asm:jar:9.6 in the shaded jar. [INFO] Including com.alessiodp.libby:libby-velocity:jar:2.0.0-SNAPSHOT in the shaded jar. [INFO] Including com.alessiodp.libby:libby-core:jar:2.0.0-SNAPSHOT in the shaded jar. [INFO] Including com.github.Revxrsal.Lamp:velocity:jar:3.1.8 in the shaded jar. [INFO] Minimizing jar me.mastercapexd.auth:velocity:jar:1.8.0-beta.1 [INFO] Dependency-reduced POM written at: D:\GitHub\fmine\MC-Auth-with-Link\velocity\dependency-reduced-pom.xml [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] httpclient-4.5.12.jar, httpcore-4.4.13.jar, jai-imageio-core-1.4.0.jar define 2 overlapping resources: [WARNING] - META-INF/LICENSE [WARNING] - META-INF/NOTICE [WARNING] EventBus-1.3.jar, TelegramLampModule-1.0.0.jar, VkLampModule-1.0.0.jar, api.jar, asm-9.6.jar, checker-qual-3.6.1.jar, common-1.0.5.jar, common-3.1.8.jar, commons-codec-1.14.jar, commons-logging-1.2.jar, configurate-4.0.2.jar, configurate-core-4.1.2.jar, configurate-yaml-4.1.2.jar, core-3.5.3.jar, core-4.0.2.jar, core.jar, discord-1.0.5.jar, error_prone_annotations-2.6.0.jar, geantyref-1.3.11.jar, googleauth-1.5.0.jar, httpclient-4.5.12.jar, httpcore-4.4.13.jar, jai-imageio-core-1.4.0.jar, javase-3.5.3.jar, jbcrypt-0.4.jar, jcommander-1.82.jar, jda-3.1.8.jar, libby-velocity-2.0.0-SNAPSHOT.jar, ormlite-jdbc-6.1.jar, password4j-1.7.3.jar, snakeyaml-1.28.jar, telegram-1.0.5.jar, velocity-3.1.8.jar, velocity.jar, vk-1.0.5.jar, yaml-config-updater-1.4.2.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] commons-codec-1.14.jar, commons-logging-1.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE.txt [WARNING] configurate-core-4.1.2.jar, configurate-yaml-4.1.2.jar define 1 overlapping resource: configurate-core-4.1.2.jar, configurate-yaml-4.1.2.jar define 1 overlapping resource:

[INFO] Minimized 3843 -> 2035 (52%) [INFO] Attaching shaded artifact.

OurLobanov commented 4 days ago

[12:55:49 INFO]: Booting up Velocity 3.3.0-SNAPSHOT (git-9d25d309-b400)... [12:55:49 INFO]: Loading localizations... [12:55:50 INFO]: Connections will use epoll channels, libdeflate (Linux x86_64) compression, OpenSSL 3.0.x (Linux x86_64) ciphers [12:55:50 INFO]: Loading plugins... [12:55:50 ERROR]: Can't create plugin mcauth java.lang.NoClassDefFoundError: com/bivashy/auth/api/server/ServerCore at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:?] at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3549) ~[?:?] at java.base/java.lang.Class.getDeclaredConstructors(Class.java:2727) ~[?:?] at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:299) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:121) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:737) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.UntargettedBindingProcessor$1.visit(UntargettedBindingProcessor.java:54) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.UntargettedBindingProcessor$1.visit(UntargettedBindingProcessor.java:36) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.UntargettedBindingImpl.acceptTargetVisitor(UntargettedBindingImpl.java:52) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.UntargettedBindingProcessor.visit(UntargettedBindingProcessor.java:35) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.UntargettedBindingProcessor.visit(UntargettedBindingProcessor.java:27) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.BindingImpl.acceptVisitor(BindingImpl.java:99) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.AbstractProcessor.lambda$process$0(AbstractProcessor.java:53) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at java.base/java.util.ArrayList.removeIf(ArrayList.java:1755) ~[?:?] at java.base/java.util.ArrayList.removeIf(ArrayList.java:1743) ~[?:?] at com.google.inject.internal.AbstractProcessor.process(AbstractProcessor.java:50) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:216) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.Guice.createInjector(Guice.java:87) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.Guice.createInjector(Guice.java:69) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.google.inject.Guice.createInjector(Guice.java:59) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.velocitypowered.proxy.plugin.loader.java.JavaPluginLoader.createPlugin(JavaPluginLoader.java:129) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.velocitypowered.proxy.plugin.VelocityPluginManager.loadPlugins(VelocityPluginManager.java:155) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.velocitypowered.proxy.VelocityServer.loadPlugins(VelocityServer.java:362) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.velocitypowered.proxy.VelocityServer.start(VelocityServer.java:239) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.velocitypowered.proxy.Velocity.main(Velocity.java:71) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] Caused by: java.lang.ClassNotFoundException: com.bivashy.auth.api.server.ServerCore at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass0(PluginClassLoader.java:87) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at com.velocitypowered.proxy.plugin.PluginClassLoader.loadClass(PluginClassLoader.java:64) ~[velocity-3.3.0-SNAPSHOT-400.jar:3.3.0-SNAPSHOT (git-9d25d309-b400)] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?] ... 26 more [12:55:50 INFO]: Loaded 0 plugins

[12:55:50 INFO]: Done (0.55s)!

bivashy commented 4 days ago

java.lang.NoClassDefFoundError: com/bivashy/auth/api/server/ServerCore Plugin was compiled incorrectly.

Try to use: mvn clean package

OurLobanov commented 4 days ago

I don’t know why I can’t compile, I pressed cleaner package again

bivashy commented 4 days ago

I don’t know why I can’t compile, I pressed cleaner package again

This may happen because:

  1. You've compiled without using package keyword.
  2. You've compiled, but used wrong JAR. Original JAR size aroung ~5MB.
  3. You're not deleted your old JAR from plugins folder.
OurLobanov commented 4 days ago

https://mega.nz/file/qrQVkTbb#D_qZjV_3oSJJa48HLATE4gaOHYLpv5m7pgt0CjZbo2g Here's what I got I’m not on the computer right now, I’ll be able to try again in about 5 hours

bivashy commented 4 days ago

https://mega.nz/file/qrQVkTbb#D_qZjV_3oSJJa48HLATE4gaOHYLpv5m7pgt0CjZbo2g Here's what I got I’m not on the computer right now, I’ll be able to try again in about 5 hours

Your JAR size is "734 KB", it should be larger. You're probably modified pom.xml, or used wrong lifecycle (instead of package). As I've said you're probably compiled without package keyword. You should share steps to reproduce, because i couldn't reproduce that in main branch.

If possible, create discussion thread instead of Issue.

OurLobanov commented 3 days ago

image image [17:25:01 INFO]: 2024-06-29 17:25:01,003 [WARNING] SqliteDatabaseType Driver class was not found for SQLite database. Class not found: org.sqlite.JDBC [17:25:01 ERROR]: java.sql.SQLException: No suitable driver [17:25:01 ERROR]: at java.sql/java.sql.DriverManager.getDriver(DriverManager.java:300) [17:25:01 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.BaseJdbcConnectionSource.initialize(BaseJdbcConnectionSource.java:104) [17:25:01 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.initialize(JdbcPooledConnectionSource.java:88) [17:25:01 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcConnectionSource.(JdbcConnectionSource.java:104) [17:25:01 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.(JdbcPooledConnectionSource.java:83) [17:25:01 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.(JdbcPooledConnectionSource.java:78) [17:25:01 ERROR]: at me.mastercapexd.auth.database.DatabaseHelper.lambda$new$2(DatabaseHelper.java:70) [17:25:01 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [17:25:01 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [17:25:01 ERROR]: at java.base/java.lang.Thread.run(Thread.java:1583) image

https://mega.nz/file/qrQVkTbb#D_qZjV_3oSJJa48HLATE4gaOHYLpv5m7pgt0CjZbo2g Here's what I got I’m not on the computer right now, I’ll be able to try again in about 5 hours

Your JAR size is "734 KB", it should be larger. You're probably modified pom.xml, or used wrong lifecycle (instead of package). As I've said you're probably compiled without package keyword. You should share steps to reproduce, because i couldn't reproduce that in main branch.

If possible, create discussion thread instead of Issue.

bivashy commented 3 days ago

Reproduced with specific SQLite version:

[23:06:41 ERROR]: java.util.ServiceConfigurationError: java.sql.Driver: Provider org.sqlite.JDBC could not be instantiated
[23:06:41 ERROR]:   at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:586)
[23:06:41 ERROR]:   at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813)
[23:06:41 ERROR]:   at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729)
[23:06:41 ERROR]:   at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1403)
[23:06:41 ERROR]:   at me.mastercapexd.auth.util.DriverUtil.loadDriver(DriverUtil.java:42)
[23:06:41 ERROR]:   at me.mastercapexd.auth.util.DriverUtil.loadDriver(DriverUtil.java:26)
[23:06:41 ERROR]:   at me.mastercapexd.auth.database.DatabaseHelper.lambda$new$2(DatabaseHelper.java:65)
[23:06:41 ERROR]:   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[23:06:41 ERROR]:   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[23:06:41 ERROR]:   at java.base/java.lang.Thread.run(Thread.java:840)
[23:06:41 ERROR]: Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
[23:06:41 ERROR]:   at org.sqlite.JDBC.<clinit>(JDBC.java:26)
[23:06:41 ERROR]:   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[23:06:41 ERROR]:   at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
[23:06:41 ERROR]:   at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[23:06:41 ERROR]:   at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
[23:06:41 ERROR]:   at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
[23:06:41 ERROR]:   at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:789)
[23:06:41 ERROR]:   ... 8 more
[23:06:41 ERROR]: Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
[23:06:41 ERROR]:   at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
[23:06:41 ERROR]:   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
[23:06:41 ERROR]:   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
[23:06:41 ERROR]:   ... 15 more

Related: https://github.com/xerial/sqlite-jdbc/discussions/987#discussioncomment-7280381

bivashy commented 3 days ago

Use older sqlite-jdbc version as temporary fix.

bivashy commented 3 days ago

To reproduce:

  1. Download latest Velocity (Velocity 3.3.0-SNAPSHOT (git-9d25d309-b400))
  2. Use SQLite
  3. You'll see error in console

Description:

Current assumption: Velocity uses newer slf4j (2.0.0 or newer), but it conflicts with SQLite's slf4j version (1.7.36). Currently best way is using LibraryManager for relocating and downloading SQLite as library

bivashy commented 3 days ago

Feel free to open PR with fix (without downgrading SQLite, because of #152)

OurLobanov commented 1 day ago

[11:34:23 INFO]: 2024-07-02 11:34:23,371 [WARNING] MysqlDatabaseType Driver class was not found for MySQL database. Class not found: com.mysql.cj.jdbc.Driver [11:34:23 INFO]: 2024-07-02 11:34:23,371 [WARNING] MysqlDatabaseType Driver class was not found for MySQL database. Class not found: com.mysql.jdbc.Driver [11:34:23 ERROR]: java.sql.SQLException: Access denied for user 'root'@'localhost' [11:34:23 ERROR]: at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) [11:34:23 ERROR]: at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) [11:34:23 ERROR]: at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:828) [11:34:23 ERROR]: at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:448) [11:34:23 ERROR]: at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241) [11:34:23 ERROR]: at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) [11:34:23 ERROR]: at me.mastercapexd.auth.util.DriverUtil$DelegatingDriver.connect(DriverUtil.java:67) [11:34:23 ERROR]: at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683) [11:34:23 ERROR]: at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:191) [11:34:23 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcConnectionSource.makeConnection(JdbcConnectionSource.java:139) [11:34:23 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.jdbc.JdbcPooledConnectionSource.getReadWriteConnection(JdbcPooledConnectionSource.java:139) [11:34:23 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.table.TableUtils.doCreateTable(TableUtils.java:369) [11:34:23 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.table.TableUtils.doCreateTable(TableUtils.java:356) [11:34:23 ERROR]: at com.bivashy.auth.lib.com.j256.ormlite.table.TableUtils.createTableIfNotExists(TableUtils.java:99) [11:34:23 ERROR]: at me.mastercapexd.auth.database.dao.AccountLinkDao.(AccountLinkDao.java:38) [11:34:23 ERROR]: at me.mastercapexd.auth.database.DatabaseHelper.lambda$new$2(DatabaseHelper.java:73) [11:34:23 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [11:34:23 ERROR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [11:34:23 ERROR]: at java.base/java.lang.Thread.run(Thread.java:1583)

also stands out mysql could you check maybe i have some problem

bivashy commented 1 day ago

Access denied for user 'root'@'localhost'

Misconfiguration of MySQL, not related. Please do not flood in that issue thread, create another issue instead