not being able to connect
today update 2023.2
The following error message is displayed.
Please tell me how to solve it..
DBMS: Mongo DB (ver. 6.0.1)
Case sensitivity: plain=mixed, delimited=mixed
Driver: MongoDB JDBC Driver (ver. 1.10, JDBC4.2)
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at com.intellij.database.remote.jdbc.impl.ReflectionHelper.classForName(ReflectionHelper.java:39)
at com.intellij.database.remote.RemoteJdbcServer.entryPoint(RemoteJdbcServer.java:32)
at com.intellij.database.remote.RemoteJdbcServer.main(RemoteJdbcServer.java:19)
Caused by: java.lang.IllegalStateException: No language and polyglot implementation was found on the classpath. Make sure the truffle-api.jar is on the classpath.
at org.graalvm.polyglot.Engine$PolyglotInvalid.noPolyglotImplementationFound(Engine.java:991)
at org.graalvm.polyglot.Engine$PolyglotInvalid.createHostAccess(Engine.java:981)
at org.graalvm.polyglot.Engine$Builder.build(Engine.java:621)
at org.graalvm.polyglot.Engine.create(Engine.java:302)
at com.dbschema.MongoJdbcDriver.createShellHolder(MongoJdbcDriver.java:60)
at com.dbschema.MongoJdbcDriver.<init>(MongoJdbcDriver.java:46)
at com.dbschema.MongoJdbcDriver.<clinit>(MongoJdbcDriver.java:38)
... 5 more.
Please sign in to leave a comment.
It is a known issue: https://youtrack.jetbrains.com/issue/DBE-18529
As a workaround, please update MongoDB driver to the latest stable version (1.18 or higher) in the driver's settings: