I am newbie to grails/groovy. In my grails app, i added a new dependency to BuildConfig.groovy as below
compile 'commons-codec:commons-codec:1.10'
When I try to start my app, i get the below error
| Error Resolve error obtaining dependencies: Could not find artifact commons-codec:commons-codec:zip:1.10 in grailsCentral (https://repo.grails.org/grails/plugins)
Please help.
Based on the error it would appear you have added this into the plugins
section of your BuildConfig.groovy
when you should add it into the dependencies
section. Doing so will resolve this issue.