java - Grails: Exception with RestBuilder only while running in production tomcat server -


i created war file , deployed tomcat server while submitting registration page(having recaptcha) error happening, not in local machine , app running in local machine using ggts ide.

following error happening in production server

    errors.grailsexceptionresolver  - classnotfoundexception occurred when processing request: [post] /ifp/signup/completesignup grails.plugins.rest.client.restbuilder. stacktrace follows: java.lang.classnotfoundexception: grails.plugins.rest.client.restbuilder     @ java.lang.class.privategetdeclaredmethods(class.java:2701)     @ java.lang.class.getdeclaredmethods(class.java:1975)     @ org.codehaus.groovy.util.lazyreference.getlocked(lazyreference.java:46)     @ org.codehaus.groovy.util.lazyreference.get(lazyreference.java:33)     @ com.megatome.grails.recaptcha.recaptcha.checkanswer(recaptcha.groovy:171)     @ com.megatome.grails.recaptchaservice.verifyanswer(recaptchaservice.groovy:147)     @ com.controllers.portal.signupcontroller.completesignup(signupcontroller.groovy:42)     @ grails.plugin.cache.web.filter.pagefragmentcachingfilter.dofilter(pagefragmentcachingfilter.java:198)     @ grails.plugin.cache.web.filter.abstractfilter.dofilter(abstractfilter.java:63)     @ grails.plugin.springsecurity.web.filter.grailsanonymousauthenticationfilter.dofilter(grailsanonymousauthenticationfilter.java:53)     @ grails.plugin.springsecurity.web.authentication.requestholderauthenticationfilter.dofilter(requestholderauthenticationfilter.java:53)     @ grails.plugin.springsecurity.web.authentication.logout.mutablelogoutfilter.dofilter(mutablelogoutfilter.java:62)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ java.lang.thread.run(thread.java:745) 

from view exception happening after implementation of recaptcha. please me resolving issue.

java.lang.classnotfoundexception: grails.plugins.rest.client.restbuilder

states class missing in production war or tomcat.

make sure setting proper dependencies in gradle config per plugin ref-doc:

compile "org.grails.plugins:rest-client-builder:2.1.1" 

check jars present in war or tomcat's classpath


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -