Recaptcha Issue - Compile time error


I’m trying to implement the vaadin recaptcha 2.0.2.

I was added IVY dependency as followed :

ReCaptcha captcha = new ReCaptcha("xxx-privateKey", "xxx-publicKey", new ReCaptchaOptions());

When i tried to run this i got following error.

java.lang.NoSuchMethodError: com.wcs.wcslib.vaadin.widget.recaptcha.ReCaptcha.(Ljava/lang/String;Ljava/lang/String;Lcom/wcs/wcslib/vaadin/widget/recaptcha/shared/ReCaptchaOptions;)V

Still now i can’t able to find the solution?


From a quick look at the code and at the error message, it looks like there is no such constructor. There is one with the parameters: ReCaptcha(key, options, lang).


Thanks for your reply. I will check…