ERRO DE COMPILAÇÃO



  • Estou com o seguinte erro na abertura da aplicacao:

    Exceção Gerada:
    wfr.exceptions.WFRCompileException: java.lang.Exception: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java:9351: cannot find symbol symbol : method getReCaptchaResponse(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String) location: class wfr.util.Functions net.tanesha.recaptcha.ReCaptchaResponse cr = Functions.getReCaptchaResponse(request, privateKey.getString(), challenge.getString(), answer.getString()); ^ Note: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error at wfr.util.Functions.compileFile(Functions.java:3664) at wfr.util.Functions.compileFile(Functions.java:3620) at wfr.util.Functions.compileFile(Functions.java:3597) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:424) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:380) at wfr.com.WFRSystem.create(WFRSystem.java:811) at wfr.com.WFRSystem.create(WFRSystem.java:717) at wfr.com.WFRDBSystem.(WFRDBSystem.java:41) at wfr.com.WFRSystem.getInstance(WFRSystem.java:309) at wfr.com.WFRSystem.getInstance(WFRSystem.java:274) at wfr.sys.WFR.(WFR.java:23) at wfr.sys.WFRLoader.createSystem(WFRLoader.java:166) at wfr.sys.WFRLoader.getWFR(WFRLoader.java:155) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:145) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:131) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:127) at wfr.web.Action.(Action.java:88) at wfr.web.Action.(Action.java:68) at wfr.web.actions.OpenAction.(OpenAction.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at wfr.web.ActionFactory.getAction(ActionFactory.java:72) at wfr.web.Controller.process(Controller.java:140) at wfr.web.Controller.doGet(Controller.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at wfr.web.ContextFilter.doFilter(ContextFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:600) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1703) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.Exception: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java:9351: cannot find symbol symbol : method getReCaptchaResponse(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String) location: class wfr.util.Functions net.tanesha.recaptcha.ReCaptchaResponse cr = Functions.getReCaptchaResponse(request, privateKey.getString(), challenge.getString(), answer.getString()); ^ Note: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error at wfr.util.Functions.compileFile(Functions.java:3656) ... 43 more

    Causa:
    java.lang.Exception: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java:9351: cannot find symbol symbol : method getReCaptchaResponse(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String) location: class wfr.util.Functions net.tanesha.recaptcha.ReCaptchaResponse cr = Functions.getReCaptchaResponse(request, privateKey.getString(), challenge.getString(), answer.getString()); ^ Note: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Softwell Solutions\Maker 3.0\Webrun 3\tomcat\webapps\webrun/src/wfr/com/systems/system_sig/rules/WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error at wfr.util.Functions.compileFile(Functions.java:3656) at wfr.util.Functions.compileFile(Functions.java:3620) at wfr.util.Functions.compileFile(Functions.java:3597) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:424) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:380) at wfr.com.WFRSystem.create(WFRSystem.java:811) at wfr.com.WFRSystem.create(WFRSystem.java:717) at wfr.com.WFRDBSystem.(WFRDBSystem.java:41) at wfr.com.WFRSystem.getInstance(WFRSystem.java:309) at wfr.com.WFRSystem.getInstance(WFRSystem.java:274) at wfr.sys.WFR.(WFR.java:23) at wfr.sys.WFRLoader.createSystem(WFRLoader.java:166) at wfr.sys.WFRLoader.getWFR(WFRLoader.java:155) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:145) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:131) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:127) at wfr.web.Action.(Action.java:88) at wfr.web.Action.(Action.java:68) at wfr.web.actions.OpenAction.(OpenAction.java:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at wfr.web.ActionFactory.getAction(ActionFactory.java:72) at wfr.web.Controller.process(Controller.java:140) at wfr.web.Controller.doGet(Controller.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at wfr.web.ContextFilter.doFilter(ContextFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:600) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1703) at java.lang.Thread.run(Thread.java:595)

    Obrigado...


  • Qual a versão do Maker, Webrun e API utilizados?


  • Boa tarde...
    Maker 3.2.0.61
    Webrun 3.2
    Versão da API nunca precisou...onde eu vejo?


    Obrigado...


  • O erro aparenta ser na falta da biblioteca utilizada pelo recaptcha.

    Veja se você possui o jar em ...\WEB-INF\lib\recaptcha4j-0.0.8.jar


  • Bom dia...

    Verifique e esta na pasta \WEB-INF\lib\recaptcha4j-0.0.8.jar o arquivo mas continua o mesmo erro ja reiniciei e republiquei o webrun mas o erro continua tem um outra dica?

    Obrigado....


  • Você está utilizando alguma função do captcha? Se não estiver, tenta apagar para ver se o erro de compilação para.


  • Nao estou usando o captcha... e apague o arquivo recaptcha4j-0.0.8.jar e continua o erro...


  • Eu falei pra apagar a função, não o arquivo.


  • Deu certo apagando a função...mas tenho intenção de usar o Captcha futuramente vc sabe o que pode ser o problema?

    Obrigado...


  • Peço que entre em contato com o suporte para ver mais de perto. Deve ser alguma bobagem... Tente importar a função da api mais nova que tiver pra ver se funciona corretamente.

Log in to reply