Erro de Compilação - WebrunFunctions



  • Versões Utilizadas: MAker 3.7.2.7 Webrun 3.7
    Depois de restaurar os projetos desenvolvidos no treinamento do Maker executei o projeto no Webrun e apareceu o seguinte erro de compilação:

    Exceção Gerada:
    wfr.exceptions.WFRCompileException: java.lang.Exception: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:1445: cannot find symbol symbol : class LocalCaptcha location: class wfr.com.systems.system_pro.rules.WebrunFunctions LocalCaptcha captcha = new LocalCaptcha(qtdChar.getLong().intValue(), request, response, getRequest().getParameter("sys")); ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:1445: cannot find symbol symbol : class LocalCaptcha location: class wfr.com.systems.system_pro.rules.WebrunFunctions LocalCaptcha captcha = new LocalCaptcha(qtdChar.getLong().intValue(), request, response, getRequest().getParameter("sys")); ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:9937: cannot find symbol symbol : method parseParams(java.lang.String) location: class wfr.sys.HTMLInterface.HTMLReport String absoluteFilePath = htmlReport.createReport(htmlReport.parseParams(filter.toString().trim()), "Sort=" + sort.toString().trim(), reportType.toString().trim(), ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:9977: cannot find symbol symbol : method parseParams(java.lang.String) location: class wfr.sys.HTMLInterface.HTMLReport String absoluteFilePath = htmlReport.createReport(htmlReport.parseParams(filter.toString().trim()), "Sort=" + sort.toString().trim(), reportType.toString().trim(), ^ Note: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors at wfr.util.Functions.compileFile(Functions.java:3644) at wfr.util.Functions.compileFile(Functions.java:3600) at wfr.util.Functions.compileFile(Functions.java:3577) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:424) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:380) at wfr.com.WFRSystem.create(WFRSystem.java:820) at wfr.com.WFRSystem.create(WFRSystem.java:726) at wfr.com.WFRDBSystem.(WFRDBSystem.java:41) at wfr.com.WFRSystem.getInstance(WFRSystem.java:301) at wfr.com.WFRSystem.getInstance(WFRSystem.java:266) 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:513) at wfr.web.ActionFactory.getAction(ActionFactory.java:72) at wfr.web.Controller.process(Controller.java:129) at wfr.web.Controller.doGet(Controller.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at wfr.web.ContextFilter.doFilter(ContextFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2462) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2451) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.Exception: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:1445: cannot find symbol symbol : class LocalCaptcha location: class wfr.com.systems.system_pro.rules.WebrunFunctions LocalCaptcha captcha = new LocalCaptcha(qtdChar.getLong().intValue(), request, response, getRequest().getParameter("sys")); ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:1445: cannot find symbol symbol : class LocalCaptcha location: class wfr.com.systems.system_pro.rules.WebrunFunctions LocalCaptcha captcha = new LocalCaptcha(qtdChar.getLong().intValue(), request, response, getRequest().getParameter("sys")); ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:9937: cannot find symbol symbol : method parseParams(java.lang.String) location: class wfr.sys.HTMLInterface.HTMLReport String absoluteFilePath = htmlReport.createReport(htmlReport.parseParams(filter.toString().trim()), "Sort=" + sort.toString().trim(), reportType.toString().trim(), ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:9977: cannot find symbol symbol : method parseParams(java.lang.String) location: class wfr.sys.HTMLInterface.HTMLReport String absoluteFilePath = htmlReport.createReport(htmlReport.parseParams(filter.toString().trim()), "Sort=" + sort.toString().trim(), reportType.toString().trim(), ^ Note: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors at wfr.util.Functions.compileFile(Functions.java:3636) ... 48 more

    Causa:
    java.lang.Exception: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:1445: cannot find symbol symbol : class LocalCaptcha location: class wfr.com.systems.system_pro.rules.WebrunFunctions LocalCaptcha captcha = new LocalCaptcha(qtdChar.getLong().intValue(), request, response, getRequest().getParameter("sys")); ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:1445: cannot find symbol symbol : class LocalCaptcha location: class wfr.com.systems.system_pro.rules.WebrunFunctions LocalCaptcha captcha = new LocalCaptcha(qtdChar.getLong().intValue(), request, response, getRequest().getParameter("sys")); ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:9937: cannot find symbol symbol : method parseParams(java.lang.String) location: class wfr.sys.HTMLInterface.HTMLReport String absoluteFilePath = htmlReport.createReport(htmlReport.parseParams(filter.toString().trim()), "Sort=" + sort.toString().trim(), reportType.toString().trim(), ^ C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java:9977: cannot find symbol symbol : method parseParams(java.lang.String) location: class wfr.sys.HTMLInterface.HTMLReport String absoluteFilePath = htmlReport.createReport(htmlReport.parseParams(filter.toString().trim()), "Sort=" + sort.toString().trim(), reportType.toString().trim(), ^ Note: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Program Files (x86)\Softwell Solutions\Maker 3.7\Webrun 3.7\tomcat\webapps\webrun\src\wfr\com\systems\system_pro\rules\WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors at wfr.util.Functions.compileFile(Functions.java:3636) at wfr.util.Functions.compileFile(Functions.java:3600) at wfr.util.Functions.compileFile(Functions.java:3577) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:424) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:380) at wfr.com.WFRSystem.create(WFRSystem.java:820) at wfr.com.WFRSystem.create(WFRSystem.java:726) at wfr.com.WFRDBSystem.(WFRDBSystem.java:41) at wfr.com.WFRSystem.getInstance(WFRSystem.java:301) at wfr.com.WFRSystem.getInstance(WFRSystem.java:266) 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:513) at wfr.web.ActionFactory.getAction(ActionFactory.java:72) at wfr.web.Controller.process(Controller.java:129) at wfr.web.Controller.doGet(Controller.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at wfr.web.ContextFilter.doFilter(ContextFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2462) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2451) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:662)


  • Olá, conseguiu resolver?

    Aparenta ser API atualizada para um Webrun atingo.

Log in to reply