Erro de compilação # WebrunFunctions #



  • Bom dia a todos,

    Estou criando uma base de teste local de um sistema ja existente, fiz o backup no servidor, restaurei o banco localmente, alterei as configurações de conexão, reiniciei o webrun. Mas quando tento dar um preview na aplicação da este erro:

    Erro de compilação # WebrunFunctions # Consulte o log da aplicação

    Alguma luz?


  • Cola os detalhes do erro.


  • A exceção gerada é esta:
    [code] Exceção Gerada: wfr.exceptions.WFRCompileException: java.lang.Exception: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13245: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = manager.getWebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13245: cannot find symbol symbol : method getWebServiceImporter2() location: class wfr.rules.WFRRuleManager WebServiceImporter2 ws = manager.getWebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13337: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.ProtocolSocketFactory socketFactory = new wfr.util.WebrunSSLSocketFactory(filepfx.toString(), passpfx.toString(), ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13337: cannot find symbol symbol : class WebrunSSLSocketFactory location: package wfr.util org.apache.commons.httpclient.protocol.ProtocolSocketFactory socketFactory = new wfr.util.WebrunSSLSocketFactory(filepfx.toString(), passpfx.toString(), ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13339: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", new org.apache.commons.httpclient.protocol.Protocol("https", socketFactory, 443)); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13339: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", new org.apache.commons.httpclient.protocol.Protocol("https", socketFactory, 443)); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13341: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = new WebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13341: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = new WebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13351: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.unregisterProtocol("https"); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13428: package org.apache.http.client does not exist org.apache.http.client.HttpClient client = null; ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13430: package org.apache.http.impl.client does not exist client = new org.apache.http.impl.client.DefaultHttpClient(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13431: package org.apache.http.params does not exist client.getParams().setParameter(org.apache.http.params.CoreProtocolPNames.PROTOCOL_VERSION, org.apache.http.HttpVersion.HTTP_1_1); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13431: package org.apache.http does not exist client.getParams().setParameter(org.apache.http.params.CoreProtocolPNames.PROTOCOL_VERSION, org.apache.http.HttpVersion.HTTP_1_1); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13435: package org.apache.http.client.methods does not exist org.apache.http.client.methods.HttpPost httpPost = new org.apache.http.client.methods.HttpPost(url); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13435: package org.apache.http.client.methods does not exist org.apache.http.client.methods.HttpPost httpPost = new org.apache.http.client.methods.HttpPost(url); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13452: package org.apache.http.entity does not exist org.apache.http.entity.StringEntity entity = new org.apache.http.entity.StringEntity(content.getString(), wfr.util.Settings.CHARSET); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13452: package org.apache.http.entity does not exist org.apache.http.entity.StringEntity entity = new org.apache.http.entity.StringEntity(content.getString(), wfr.util.Settings.CHARSET); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13456: package org.apache.http does not exist org.apache.http.HttpResponse response = client.execute(httpPost); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13457: package org.apache.http does not exist org.apache.http.HttpEntity responseEntity = response.getEntity(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13460: package org.apache.http.util does not exist result = VariantPool.get(org.apache.http.util.EntityUtils.toString(responseEntity)); ^ Note: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 20 errors at wfr.util.Functions.compileFile(Functions.java:3253) at wfr.util.Functions.compileFile(Functions.java:3209) at wfr.util.Functions.compileFile(Functions.java:3186) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:412) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:370) at wfr.com.WFRSystem.create(WFRSystem.java:631) at wfr.com.WFRSystem.create(WFRSystem.java:554) at wfr.com.WFRSystem.(WFRSystem.java:237) at wfr.com.WFRDBSystem.(WFRDBSystem.java:38) at wfr.com.WFRSystem.getInstance(WFRSystem.java:214) at wfr.com.WFRSystem.getInstance(WFRSystem.java:186) at wfr.sys.WFR.(WFR.java:23) at wfr.sys.WFRLoader.createSystem(WFRLoader.java:143) at wfr.sys.WFRLoader.getWFR(WFRLoader.java:132) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:141) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:127) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:123) at wfr.web.Action.(Action.java:87) at wfr.web.Action.(Action.java:67) at wfr.web.actions.OpenAction.(OpenAction.java:29) 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:68) at wfr.web.Controller.process(Controller.java:97) at wfr.web.Controller.doGet(Controller.java:55) 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:72) 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:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.Exception: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13245: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = manager.getWebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13245: cannot find symbol symbol : method getWebServiceImporter2() location: class wfr.rules.WFRRuleManager WebServiceImporter2 ws = manager.getWebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13337: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.ProtocolSocketFactory socketFactory = new wfr.util.WebrunSSLSocketFactory(filepfx.toString(), passpfx.toString(), ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13337: cannot find symbol symbol : class WebrunSSLSocketFactory location: package wfr.util org.apache.commons.httpclient.protocol.ProtocolSocketFactory socketFactory = new wfr.util.WebrunSSLSocketFactory(filepfx.toString(), passpfx.toString(), ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13339: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", new org.apache.commons.httpclient.protocol.Protocol("https", socketFactory, 443)); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13339: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", new org.apache.commons.httpclient.protocol.Protocol("https", socketFactory, 443)); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13341: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = new WebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13341: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = new WebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13351: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.unregisterProtocol("https"); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13428: package org.apache.http.client does not exist org.apache.http.client.HttpClient client = null; ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13430: package org.apache.http.impl.client does not exist client = new org.apache.http.impl.client.DefaultHttpClient(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13431: package org.apache.http.params does not exist client.getParams().setParameter(org.apache.http.params.CoreProtocolPNames.PROTOCOL_VERSION, org.apache.http.HttpVersion.HTTP_1_1); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13431: package org.apache.http does not exist client.getParams().setParameter(org.apache.http.params.CoreProtocolPNames.PROTOCOL_VERSION, org.apache.http.HttpVersion.HTTP_1_1); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13435: package org.apache.http.client.methods does not exist org.apache.http.client.methods.HttpPost httpPost = new org.apache.http.client.methods.HttpPost(url); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13435: package org.apache.http.client.methods does not exist org.apache.http.client.methods.HttpPost httpPost = new org.apache.http.client.methods.HttpPost(url); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13452: package org.apache.http.entity does not exist org.apache.http.entity.StringEntity entity = new org.apache.http.entity.StringEntity(content.getString(), wfr.util.Settings.CHARSET); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13452: package org.apache.http.entity does not exist org.apache.http.entity.StringEntity entity = new org.apache.http.entity.StringEntity(content.getString(), wfr.util.Settings.CHARSET); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13456: package org.apache.http does not exist org.apache.http.HttpResponse response = client.execute(httpPost); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13457: package org.apache.http does not exist org.apache.http.HttpEntity responseEntity = response.getEntity(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13460: package org.apache.http.util does not exist result = VariantPool.get(org.apache.http.util.EntityUtils.toString(responseEntity)); ^ Note: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 20 errors at wfr.util.Functions.compileFile(Functions.java:3245) ... 44 more Causa: java.lang.Exception: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13245: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = manager.getWebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13245: cannot find symbol symbol : method getWebServiceImporter2() location: class wfr.rules.WFRRuleManager WebServiceImporter2 ws = manager.getWebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13337: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.ProtocolSocketFactory socketFactory = new wfr.util.WebrunSSLSocketFactory(filepfx.toString(), passpfx.toString(), ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13337: cannot find symbol symbol : class WebrunSSLSocketFactory location: package wfr.util org.apache.commons.httpclient.protocol.ProtocolSocketFactory socketFactory = new wfr.util.WebrunSSLSocketFactory(filepfx.toString(), passpfx.toString(), ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13339: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", new org.apache.commons.httpclient.protocol.Protocol("https", socketFactory, 443)); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13339: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.registerProtocol("https", new org.apache.commons.httpclient.protocol.Protocol("https", socketFactory, 443)); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13341: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = new WebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13341: cannot find symbol symbol : class WebServiceImporter2 location: class wfr.com.systems.system_gpv.rules.WebrunFunctions WebServiceImporter2 ws = new WebServiceImporter2(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13351: package org.apache.commons.httpclient.protocol does not exist org.apache.commons.httpclient.protocol.Protocol.unregisterProtocol("https"); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13428: package org.apache.http.client does not exist org.apache.http.client.HttpClient client = null; ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13430: package org.apache.http.impl.client does not exist client = new org.apache.http.impl.client.DefaultHttpClient(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13431: package org.apache.http.params does not exist client.getParams().setParameter(org.apache.http.params.CoreProtocolPNames.PROTOCOL_VERSION, org.apache.http.HttpVersion.HTTP_1_1); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13431: package org.apache.http does not exist client.getParams().setParameter(org.apache.http.params.CoreProtocolPNames.PROTOCOL_VERSION, org.apache.http.HttpVersion.HTTP_1_1); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13435: package org.apache.http.client.methods does not exist org.apache.http.client.methods.HttpPost httpPost = new org.apache.http.client.methods.HttpPost(url); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13435: package org.apache.http.client.methods does not exist org.apache.http.client.methods.HttpPost httpPost = new org.apache.http.client.methods.HttpPost(url); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13452: package org.apache.http.entity does not exist org.apache.http.entity.StringEntity entity = new org.apache.http.entity.StringEntity(content.getString(), wfr.util.Settings.CHARSET); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13452: package org.apache.http.entity does not exist org.apache.http.entity.StringEntity entity = new org.apache.http.entity.StringEntity(content.getString(), wfr.util.Settings.CHARSET); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13456: package org.apache.http does not exist org.apache.http.HttpResponse response = client.execute(httpPost); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13457: package org.apache.http does not exist org.apache.http.HttpEntity responseEntity = response.getEntity(); ^ C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java:13460: package org.apache.http.util does not exist result = VariantPool.get(org.apache.http.util.EntityUtils.toString(responseEntity)); ^ Note: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: C:\Arquivos de programas\Softwell Solutions\Maker 2.5\Webrun 2\tomcat\webapps\webrun/src/wfr/com/systems/system_gpv/rules/WebrunFunctions.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 20 errors at wfr.util.Functions.compileFile(Functions.java:3245) at wfr.util.Functions.compileFile(Functions.java:3209) at wfr.util.Functions.compileFile(Functions.java:3186) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:412) at wfr.rules.FlowMethodsManager.compileJavaFunctions(FlowMethodsManager.java:370) at wfr.com.WFRSystem.create(WFRSystem.java:631) at wfr.com.WFRSystem.create(WFRSystem.java:554) at wfr.com.WFRSystem.(WFRSystem.java:237) at wfr.com.WFRDBSystem.(WFRDBSystem.java:38) at wfr.com.WFRSystem.getInstance(WFRSystem.java:214) at wfr.com.WFRSystem.getInstance(WFRSystem.java:186) at wfr.sys.WFR.(WFR.java:23) at wfr.sys.WFRLoader.createSystem(WFRLoader.java:143) at wfr.sys.WFRLoader.getWFR(WFRLoader.java:132) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:141) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:127) at wfr.sys.HTMLInterface.HTMLInterface.getInstance(HTMLInterface.java:123) at wfr.web.Action.(Action.java:87) at wfr.web.Action.(Action.java:67) at wfr.web.actions.OpenAction.(OpenAction.java:29) 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:68) at wfr.web.Controller.process(Controller.java:97) at wfr.web.Controller.doGet(Controller.java:55) 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:72) 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:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) [/code]


  • Aparentemente seu Webrun é 2.5 e você está querendo acessar um sistema que possui funções que funcionam somente em versões do Webrun superiores, como a 2.6 ou 2.7.


  • O que eu faço então? Atualizo o webrun? Como eu faço? Este sistema estava rodando em um servidor web, acho que a versão do webrun de lá era superior.

Log in to reply