当我试图将Java代码连接到Server数据库时,会收到以下错误。
com.microsoft.sqlserver.jdbc.AuthenticationJNI WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path This driver is not configured for integrated authentication. ClientConnectionId:db8a3aa3-d84b-49d2-a7eb-64c4187a8309我使用maven来添加Server依赖项。有什么帮助吗?
发布于 2021-07-12 17:49:25
尝试下载sqljdbc 6.0,解压缩它并修改classpath以包含sqljdbc_auth.dll
应该管用的。
https://stackoverflow.com/questions/68351590
复制相似问题