我无法解决这个问题:
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: File /x64/sqljdbc_auth.dll was not found inside JAR.
at com.intellij.execution.rmi.RemoteServer.setupDomainAuth(RemoteServer.java:131)
at com.intellij.execution.rmi.RemoteServer.start(RemoteServer.java:55)
at com.intellij.database.remote.RemoteJdbcServer.main(RemoteJdbcServer.java:15)
Caused by: java.io.FileNotFoundException: File /x64/sqljdbc_auth.dll was not found inside JAR.
at com.intellij.execution.rmi.RemoteServer.extractLibraryFromJar(RemoteServer.java:171)
at com.intellij.execution.rmi.RemoteServer.setupDomainAuth(RemoteServer.java:127)
... 2 more
我已将 sqljdbc_auth.dll
复制到 C:\Windows\System32
中,但它不起作用。
最佳答案
如果您已将sqljdbc_auth.dll
库放置在系统路径中(C:\Windows\System32
),那么您应该能够使用集成的使用 jtds 或 Microsoft JDBC 驱动程序连接到 MSSQL 数据库的安全性。
对我来说,关键是保留“使用 Windows 域身份验证”框未选中,但随后在“高级”选项卡中将“integratedSecurity”属性从 false 切换为正确。
我正在运行 IntelliJ 14.1.6
关于java - JAR 中未找到 sqljdbc_auth.dll。 (在 IntelliJ 下),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38615682/