Grails Simple Captcha Plugin
I've just started looking at Grails and been trying to install the Simple Captcha Plugin. Following the instructions on grails.org gave java.io.FileNotFoundException: /Users/blah/collab-todo/plugins/Captcha-0.5/plugin.xml The reason for this is that the plugin expect grails version 0.5 and I'm running version 1.0.3. To fix the problem I expanded the zip file, cd'-ed' into the directory and ran grails upgrade followed by grails package-plugin This gave me a new grails-captcha-0.5.zip which installed with grails install-plugin ~/Downloads/grails-Captcha-0.5/grails-captcha-0.5.zip A captcha can be added to you gsp with <img src="${createLinkcontroller(controller:'captcha',action:'index')}" >
Thanks for the post. We ran into this problem following the tutorial in Beginning Groovy and Grails - chapter 7.
ReplyDeleteGlad to be of help. That's exactly where I ran into the problem my self.
ReplyDeleteThanks, I'm also going through "Beginning Groovy and Grails" and ran into the same problem with the Simple Captcha Plugin.
ReplyDeleteThanks for this great solution. I use it in Grails 1.1. Works fine.
ReplyDeleteHi Herbert, I'm glad it helped you out.
ReplyDelete