Pregunta

I mistakenly deleted .grails folder from home. Now when I run the grails application, it comes with many errors saying plugins not founds. I want to know is there any way to sort this out ? The error is as following

| Loading Grails 2.1.1
| Configuring classpath
| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:csv:0.3.1
- org.grails.plugins:kickstart-with-bootstrap:0.9.6
- org.grails.plugins:joda-time:1.4
- org.grails.plugins:quartz:1.0.1

I had uninstalled the csv and quartz plugins better before the deletion of that folder but they are also in error. My buildConfig.groovy does not contain any dependencies.

¿Fue útil?

Solución

.grails is a cache folder, so you're safe to delete it. This is also recommended when you upgrade the Grails version and start to see some errors.

Normally when you do it, you need to refresh the dependencies of your project, to make sure that all dependencies are downloaded. You can do it from the command line:

grails compile --refresh-dependencies
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top