title: java.lang.ClassNotFoundException: javax.net.ssl.SSLSocket not found by com.microsoft.sqlserver.jdbc.SQLServerDriver
body: <p>I've made multiple attempts to try to connect to MSSQL from a JSP but cannot get around the error produced when I try to initiate the actual connection. The JAR has been wrapped as an OSGi bundle with all of the dependencies resolved on a 1.8 JVM. Interestingly enough, the exact same JSP code will run perfectly on a Mac platform but not when deployed to the production Windows 2012 server.</p>
  
  <p>Caused by: java.lang.ClassNotFoundException: javax.net.ssl.SSLSocket not found by com.microsoft.sqlserver.jdbc.SQLServerDriver [587]
      at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574)
      at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
      at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 160 more</p>