title: NoSuchMethod Error while using Exposed with H2
body: <p>I'm trying to used exposed and h2 for storage inside a ktor server.</p>
  <p>After setting up an in memory connection with <code>Database.connect(&quot;jdbc:h2:mem:test&quot;, driver = &quot;org.h2.Driver&quot;)</code></p>
  <p>Whenever I try to read/write to the database I get the following error:</p>
  <blockquote>
  <p>java.lang.NoSuchMethodError:<br />
  org.h2.jdbc.JdbcConnection.getSettings()Lorg/h2/jdbc/JdbcConnection$Settings;
  at org.jetbrains.exposed.sql.vendors.H2Kt.isMySQLMode(H2.kt:17)</p>
  </blockquote>
  <p>My build.gradle.kts contains the following:</p>
  <pre><code>implementation(&quot;com.h2database&quot;, &quot;h2&quot;, &quot;1.4.197&quot;)
  implementation(&quot;org.jetbrains.exposed&quot;, &quot;exposed-core&quot;, &quot;0.24.1&quot;)
  implementation(&quot;org.jetbrains.exposed&quot;, &quot;exposed-dao&quot;, &quot;0.24.1&quot;)
  implementation(&quot;org.jetbrains.exposed&quot;, &quot;exposed-jdbc&quot;, &quot;0.24.1&quot;)
  </code></pre>
  <p>Any ideas?</p>