title: cannot resolve class 'jdbc' - Hibernate
body: <p>I am just starting out with Hibernate and I have been trying to wire it up with H2.</p>
  
  <p>My hibernate.cfg.xml file looks like this:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;!DOCTYPE hibernate-configuration PUBLIC
          "-//Hibernate/Hibernate Configuration DTD//EN"
          "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"&gt;
  &lt;hibernate-configuration&gt;
      &lt;session-factory&gt;
          &lt;property name="connection.url"&gt;org.h2.Driver&lt;/property&gt;
          &lt;property name="connection.driver_class"&gt;jdbc:h2:mem:test&lt;/property&gt;
          &lt;property name="connection.username"&gt;sa&lt;/property&gt;
          &lt;property name="connection.password"/&gt;
          &lt;!-- DB schema will be updated if needed --&gt;
          &lt;!-- &lt;property name="hbm2ddl.auto"&gt;update&lt;/property&gt; --&gt;
  
          &lt;!-- SQL dialect --&gt;
          &lt;property name="dialect"&gt;org.hibernate.dialect.H2Dialect&lt;/property&gt;
      &lt;/session-factory&gt;
  &lt;/hibernate-configuration&gt;
  </code></pre>
  
  <p>I am getting an error that says: <code>Cannot resolve class 'jdbc'</code>. I installed H2 with Maven.</p>