Today I received mail from Natin Sarin with asking for help:
Please help me from this error..ASAP b’coz i am unable to create my new project b’coz this type error is showing .. something missing in Ant folder in .grails (User—> .grails—> Ant—>>>> etc)
i attach you screen shot also plz consider it
Since it a common error I decided to publish answer:
You get this error because Grails uses obsolete Ant builder with Ivy dependency resolver that has a known bug when it can’t download to users home folder that contains non ASCII or special symbols.
"!" symbol, that means JAR/ZIP archive in terms of Java path.
You can fix that in two ways:
1. Since Grails 2.3 you can switch to Maven dependency manager in BuildConfig.groovy:
grails.project.dependency.resolver = "maven" // or ivy
2. Change your system username for «Natin» without any symbols. In Windows you can’t rename your account without troubles, so you need to create another one.
Hope it helps you.