title: Why I can't get the org.h2.Driver? I use maven
body: <p>I face a problem about connecting to H2</p>
  
  <p>this is my pom.xml:</p>
  
  <pre><code>&lt;project&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;.&lt;/groupId&gt;
      &lt;artifactId&gt;dbConnection&lt;/artifactId&gt;
      &lt;name&gt;Db Connection&lt;/name&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;0.1&lt;/version&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
          &lt;groupId&gt;com.h2database&lt;/groupId&gt;
          &lt;artifactId&gt;h2&lt;/artifactId&gt;
          &lt;version&gt;1.3.176&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
  
  &lt;/project&gt;
  </code></pre>
  
  <p>and this is my main code</p>
  
  <pre><code>import java.sql.*;
  
  public class DbConnection 
  {
     static final String DB_URL = "jdbc:h2:tcp://localhost/~/test;AUTO_SERVER=TRUE";
  
     public static void main(String[] args) throws Exception
     {
          try
             { 
                  Class.forName("org.h2.Driver");          
                  Connection conn = DriverManager.getConnection(DB_URL,"sa","");  
                  conn.close();
             }
         catch(ClassNotFoundException ex)
             {
                  System.out.println( "ERROR: Class not found: " + ex.getMessage()); 
             }
      }
  }
  </code></pre>
  
  <p>is always show up that Class not found:org.h2.Driver </p>