Just started Grails. Went through all questions but still with the issue.
Connector seems in place.

repositories of BuildConfig
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/"
}
DataSource
dataSource {
pooled = true
jmxExport = true
driverClassName = "org.postgresql.Driver"
username = "postgres"
password = "password"
}
environments {
development {
dataSource {
dbCreate = "update"
url = "jdbc:postgresql://localhost:5433/dev1base"
}
}
And I get this:
|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.
There shouldn't be magic here.