title: unable to load class com.microsoft.sqlserver.jdbc.SQLServerDriver?
body: <p>I'm having an issue while trying to connect to an SQL Server 2008 database, here is the complete exception : </p>
  
  <pre><code>java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.microsoft.sqlserver.jdbc.SQLServerDriver)
      org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2531)
      org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
      org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
      java.lang.ClassLoader.loadClassInternal(Unknown Source)
      java.lang.Class.forName0(Native Method)
      java.lang.Class.forName(Unknown Source)
      ma.ancfcc.dao.ConnexionSigest.getConnection(ConnexionSigest.java:120)
      ma.ancfcc.action.VerifyLoginAction.execute(VerifyLoginAction.java:70)
      org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
      org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
      org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
      org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
      org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
      org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
      org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  </code></pre>
  
  <p>The exception is pointing to this line of code : </p>
  
  <pre><code>private static String DRIVER_SQLSERVER="com.microsoft.sqlserver.jdbc.SQLServerDriver";
  </code></pre>
  
  <p>How can I solve this ?</p>