I am trying to use the Microsoft SQL Server 2008 Type 4 JDBC Driver in a java desktop application.
However when I run the program I get the following error--
java.lang.ClassNotFoundException: com.micr开发者_高级运维osoft.sqlserver.jdbc.SQLServerDriver
How do I overcome this error? The code looks to be OK as it is...Its a single sql statement to be executed into local sql server 2008 database.
Make sure that the .jar containing this driver is in your CLASSPATH. Here's an article explaining how to setup this.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论