You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm getting class not found error when trying to use mongodb:
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'easyauth'!
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33) ~[fabric-server-launch.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:33) ~[fabric-server-launch.jar:?]
at net.minecraft.server.Main.main(Main.java:97) [intermediary-server.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) [fabric-server-launch.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114) [fabric-server-launch.jar:?]
at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56) [fabric-server-launch.jar:?]
Caused by: java.lang.NoClassDefFoundError: com/mongodb/ConnectionString
at com.mongodb.client.MongoClients.create(MongoClients.java:61) ~[94984c79-61c2-47e9-af30-78cd60fd5e38.jar:?]
at xyz.nikitacartes.easyauth.storage.database.MongoDB.initialize(MongoDB.java:25) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at xyz.nikitacartes.easyauth.storage.DBHelper.openConnection(DBHelper.java:18) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at xyz.nikitacartes.easyauth.EasyAuth.init(EasyAuth.java:81) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at xyz.nikitacartes.easyauth.EasyAuth.onInitialize(EasyAuth.java:108) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-server-launch.jar:?]
... 17 more
Caused by: java.lang.ClassNotFoundException: com.mongodb.ConnectionString
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636) ~[?:?]
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
at net.fabricmc.loader.launch.server.InjectingURLClassLoader.loadClass(InjectingURLClassLoader.java:57) ~[fabric-server-launch.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:175) ~[fabric-server-launch.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
at com.mongodb.client.MongoClients.create(MongoClients.java:61) ~[94984c79-61c2-47e9-af30-78cd60fd5e38.jar:?]
at xyz.nikitacartes.easyauth.storage.database.MongoDB.initialize(MongoDB.java:25) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at xyz.nikitacartes.easyauth.storage.DBHelper.openConnection(DBHelper.java:18) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at xyz.nikitacartes.easyauth.EasyAuth.init(EasyAuth.java:81) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at xyz.nikitacartes.easyauth.EasyAuth.onInitialize(EasyAuth.java:108) ~[easyauth-mc1.17.1-1.9.7.jar:?]
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-server-launch.jar:?]
... 17 more
Additional context
I installed the mongodb 4.4.9 on ubuntu 20.04, created a user for it, tried to configure the mod to use it but looks like it has problems with mongodb driver
The text was updated successfully, but these errors were encountered:
Versions
Describe the bug
I'm getting class not found error when trying to use mongodb:
To Reproduce
config:
Expected behavior
Connect to the database?
Additional context
I installed the mongodb 4.4.9 on ubuntu 20.04, created a user for it, tried to configure the mod to use it but looks like it has problems with mongodb driver
The text was updated successfully, but these errors were encountered: