wenhuahetao / kaptcha

Automatically exported from code.google.com/p/kaptcha
0 stars 0 forks source link

500 Servlet Exception #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I copied kaptcha-2.3.jar in the resin 3.1.9, linux, java 1.6.0.14 in webapp.
I deployed the example war file and it works.
I copied kaptcha-2.3.jar in my lib webapp's directory (I have other libs
ofcourse)
and after many 500 Servlet Exception without print stack I try to use the
web.xml of example war file in my web application and I copied example page
too.
If I call it an error appears   

500 Servlet Exception 
java.lang.NoSuchMethodError: com.jhlabs.image.RippleFilter.setXAmplitude(F)V

java.lang.NoSuchMethodError: com.jhlabs.image.RippleFilter.setXAmplitude(F)V
    at
com.google.code.kaptcha.impl.WaterRipple.getDistortedImage(WaterRipple.java:34)
    at
com.google.code.kaptcha.impl.DefaultKaptcha.createImage(DefaultKaptcha.java:44)
    at
com.google.code.kaptcha.servlet.KaptchaServlet.doGet(KaptchaServlet.java:84)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:114)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
    at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:1
03)
    at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:192)
    at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
    at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
    at java.lang.Thread.run(Thread.java:619)

Any help ??
Thanks a lot for all

Original issue reported on code.google.com by alessand...@gmail.com on 13 Oct 2009 at 9:22

GoogleCodeExporter commented 8 years ago

Original comment by latch...@gmail.com on 13 Oct 2009 at 4:14