You need of jar that have the class com.microsoft.sqlserver.jdbc.SQLServerDriver. This class is part of library JDBC to connect with SQLServer.
You can do download in this web site: https://www.microsoft.com/pt-BR/download/details.aspx?id=11774
If your project use maven, you can add this dependency:
https://mvnrepository.com/artifact/org.springframework/spring-jdbc/5.0.0.M5
0
solved How to output the queries from my sql database? [duplicate]