title: NoSuchMethodError when named parameters are added to previously working update with NamedParameterJdbcTemplate
body: <p>I'm able to successfully connect to a <code>MySQL</code> database with <code>SpringMVC</code> and <code>JDBC</code>, I can run queries and updates no problem, until I try to add named parameters. Any named parameter and I get the following exception:</p>
  
  <pre><code>nested exception is java.lang.NoSuchMethodError: org.springframework.jdbc.core.StatementCreatorUtils.javaTypeToSqlParameterType
  (Ljava/lang/Class;)I] with root cause
  </code></pre>
  
  <p>I iterated through the params and verified that the id and values are correct and match the text I use when I'm coding the text directly into the query. </p>
  
  <p>Thanks for any help debugging this:</p>
  
  <p>Code that fails:</p>
  
  <pre><code>public boolean create(Beer beer) {
      System.out.println("Creating beer in Dao");
      System.out.println(beer);
      BeanPropertySqlParameterSource params = new BeanPropertySqlParameterSource(beer);
      return jdbc.update("insert into beer (beer_name) values (:name)", params) == 1;
  
  }
  </code></pre>
  
  <p>code that works:</p>
  
  <pre><code>public boolean create(Beer beer) {
      System.out.println("Creating beer in Dao");
      System.out.println(beer);
      BeanPropertySqlParameterSource params = new BeanPropertySqlParameterSource(beer);
      return jdbc.update("insert into beer (beer_name) values (\"honey porter\")", params) == 1;
  
  }
  </code></pre>