Closed whoisvolos closed 1 year ago
UPD: Im doing sbt assembly and I found interesting thing
Can you check your jdbc version? I guess the spark mssql connector you use is compatible with jdbc 8.4.1, but the jdbc in your environment is jdbc-7. Need to remove old jar from environment and replace it by mssql-jdbc-8.4.1..jar
closing as old/answered. Please open if still an issue after using the right JDBC version.
Yes, seems so, thank you!
Good day. Can you help me pls find the reason of issue? Im trying to use connector and Im facing an issue with
java.lang.NoSuchMethodError: com.microsoft.sqlserver.jdbc.SQLServerBulkCopy.writeToServer(Lcom/microsoft/sqlserver/jdbc/ISQLServerBulkData;)V
. I already found some issues, but my configuration as I guess differs.Im using
Spark is 3.0.3, Scala - 2.12 JDBC - 8.4.1.jre8 Connector version is 1.1.0
Stack trace follows