this is the error: java.lang.RuntimeException: Service id 'KaptchaProducer' has already been defined by org.apache.tapestry5.kaptcha.internal.services.KaptchaProducerImpl(Map) (at KaptchaProducerImpl.java:34) via org.apache.tapestry5.kaptcha.services.KaptchaModule.bind(ServiceBinder) (at KaptchaModule.java:38) and may not be redefined by org.apache.tapestry5.kaptcha.internal.services.KaptchaProducerImpl(Map) (at KaptchaProducerImpl.java:34) via domaci850.services.AppModule.bind(ServiceBinder) (at AppModule.java:33). You should rename one of the service builder methods.
This is appmodule import org.apache.tapestry5.kaptcha.internal.services.KaptchaProducerImpl; import org.apache.tapestry5.kaptcha.services.KaptchaProducer; public static void bind(ServiceBinder binder) { // binder.bind(MyServiceInterface.class, MyServiceImpl.class); // Make bind() calls on the binder object to define most IoC services. // Use service builder methods (example below) when the implementation // is provided inline, or requires more initialization than simply // invoking the constructor. binder.bind(KaptchaProducer.class, KaptchaProducerImpl.class); } Added library's tapestry-kaptcha-5.3.7.jar kaptcha-2.3.2.jar kaptcha-2.3.2-jdk14.jar What should be renamed? Thanks for help -- Pozdrav Nikola Vulovic