title: Grails postgresql db connection
body: <p>Just started Grails. Went through all questions but still with the issue.
  Connector seems in place.
  <img src="https://i.stack.imgur.com/ydFc3.jpg" alt="jdbc connector in the lib folder and dependency added to a class path"></p>
  
  <p>repositories of BuildConfig</p>
  
  <pre><code> repositories {
      inherits true // Whether to inherit repository definitions from plugins
  
      grailsPlugins()
      grailsHome()
      mavenLocal()
      grailsCentral()
      mavenCentral()
      // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
      //mavenRepo "http://repository.codehaus.org"
      //mavenRepo "http://download.java.net/maven/2/"
      //mavenRepo "http://repository.jboss.com/maven2/"
      //mavenRepo "http://repo1.maven.org/maven2/"
  }
  </code></pre>
  
  <p>DataSource</p>
  
  <pre><code>dataSource {
      pooled = true
      jmxExport = true
      driverClassName = "org.postgresql.Driver"
      username = "postgres"
      password = "password"
  }
  
  environments {
      development {
          dataSource {
          dbCreate = "update"
          url = "jdbc:postgresql://localhost:5433/dev1base"
      }
  }
  </code></pre>
  
  <p>And I get this:</p>
  
  <pre><code>|Loading Grails 2.4.3
  |Configuring classpath
  Error |
  Resolve error obtaining dependencies: Could not find artifact postgresql:postgresql:jar:9.3-  1100.jdbc4 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
  Error |
  Resolve error obtaining dependencies: Could not find artifact postgresql:postgresql:jar:9.3-1100.jdbc4 in grailsCentral (http://repo.grails.org/grails/plugins) (Use --stacktrace to see the full trace)
  Error |
  Could not find artifact postgresql:postgresql:jar:9.3-1100.jdbc4 in grailsCentral (http://repo.grails.org/grails/plugins)
  |Run 'grails dependency-report' for further information.
  </code></pre>
  
  <p>There shouldn't be magic here.</p>