Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Recaptcha Issue - Compile time error
Hi,
I'm trying to implement the vaadin recaptcha 2.0.2.
I was added IVY dependency as followed :
<dependency org="com.wcs.wcslib" name="wcslib-vaadin-widget-recaptcha" rev="2.0.2" />
eCaptcha captcha = new ReCaptcha("xxx-privateKey", "xxx-publicKey", new ReCaptchaOptions());
layout.addComponent(captcha);
When i tried to run this i got following error.
java.lang.NoSuchMethodError: com.wcs.wcslib.vaadin.widget.recaptcha.ReCaptcha.<init>(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?
Hi,
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).
-Pontus
Pontus Boström: Hi,
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).
-Pontus
Thanks for your reply. I will check..