java web connection sql server 2017 appears com.microsoft.sqlserver.jdbc.SQLServerDriver

java web connection sql server 2017 appears com.microsoft.sqlserver.jdbc.SQLServerDriver

At first in Java web in Java code jdbc link database without any errors, but the link will be in error in java web

However, such a child to see the jar package in there but the connection will still report an error com.microsoft.sqlserver.jdbc.SQLServerDriver
Directly to your jar package lib and then drag over into your tomcat server above two methods are possible and then click on the restart to run again

Guess you like

Origin blog.csdn.net/guoguozgw/article/details/89714606