Cannot load driver: com.microsoft.sqlserver.jdbc.SQLServerDriver weblogic 10g

Manuel picture Manuel · Aug 2, 2011 · Viewed 38.4k times · Source

I'm trying to create a datasource from weblogic 10.3 to sqlserverexpress 2008 r2, but when I test the connection, the following message appears :

Cannot load driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

What should I do?

Answer

Femi picture Femi · Aug 2, 2011

You need to add the sqlserver JDBC driver jar file to the weblogic classpath.