Hi Sudeep,
ReCaptcha is just a Java library. I added its JAR file to the lib/
folder and to the classpath.
When reference methods from the library, the IDE doesn't complain but
when I run the app it gives the error I listed above.
I am not sure what you mean by: "gwt module dicatates that source code
be present in the lib that is refererred."
Thanks.
James

On Jan 18, 1:59 pm, Sudeep S <sudee...@gmail.com> wrote:
> is ReCaptcha a gwt library or a simple java library.
> gwt module dicatates that source code be present in the lib that
> is refererred.
>
> On Tue, Jan 19, 2010 at 1:21 AM, jfagh <jfa...@gmail.com> wrote:
> > I am trying to integrate the opensource ReCaptcha on my GWT 2.0 app. I
> > followed the instructions given at:
> >http://wiki.recaptcha.net/index.php/Overview#Java.2FJSP
> > And just like any added module, I added its JAR file to the lib
> > directory and to the classpath.
> > When I try to run the app with a new ReCaptcha object I get a run-time
> > error:
> >  [ERROR]  No source code is available for type
> > net.tanesha.recaptcha.ReCaptcha; did you forget to inherit a required
> > module?
> > I am not sure if I am supposed to modify the app.gwt.xml or is it just
> > that the ReCaptcha java library uses some methods that cannot be
> > "translated" into js by the GWT compiler.
> > Please help if you have any ideas.
> > Thank you.
> > James
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to