执行OCR

时间:2018-07-26 07:08:52

标签: workfusion

执行OcrAction时出错   com.workfusion.studio.rpa.recorder.playback.PlaybackException:执行TemplateAction [templateName = OcrAction.ftl,id = 2,name = Optional [OcrAction],parent = -1,nextSibling = 3,arguments = ActionArguments [varName = [名称],imageName = [C:\ Users \ Administrator \ workfusion-workspace \ rpae_project \ OCR \ 1532498224608-anchor-1532498224737.apng],fullImageName = [1532498224608.png],xsi:type = [recorder:OcrAction,记录器: OcrAction],pollingInterval = [300],active = [true],type = [CONTROL],offsetX = [-353],delay = [5000],offsetY = [272],width = [156],actionDetails = [(到“名称”矩形156 x 26)],高度= [26],awaitTimeout = [5000]]]       在com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:30)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:17)       在com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:53)       在com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:153)       在com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:113)       在java.lang.Thread.run(Thread.java:745)   原因:org.openqa.selenium.WebDriverException:java.lang.ClassNotFoundException:com.workfusion.desktop.driver.ocr.impl.OcrException com.workfusion.studio.dependencies.rpa-api_9.0.0无法找到.3 内部版本信息:版本:'9.0.0.3',版本:'1610cb545e',时间:'2018-05-24T16:45:36.185Z' 系统信息:主机:'WIN-NC78EG9TDCU',ip:'192.168.192.133',操作系统名称:'Windows Server 2012 R2',os.arch:'amd64',os.version:'6.3',java.version: '1.8.0_121' 驱动程序信息:driver.version:RemoteWebDriver       在org.openqa.selenium.remote.internal.CustomWrapper.isCustomWrapperElement(CustomWrapper.java:44)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:218)       在org.openqa.selenium.remote.JsonToBeanConverter.convertMap(JsonToBeanConverter.java:351)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:228)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:48)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:149)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:48)       在org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)       在org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)       在org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)       在org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:656)       在org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:592)       在com.workfusion.rpa.helpers.RPA.executeScript(RPA.java:864)       在com.workfusion.rpa.helpers.RPA.executeGroovyScript(RPA.java:930)       在com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:111)       在com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:35)       在com.workfusion.rpa.helpers.Ocr $ proccessImage.call中(未知来源)       在org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)       在org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)       在Script2.run(Script2.groovy:7)       在com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:90)       在com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:35)       在com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:30)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:17)       在com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:53)       在com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:153)       在com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:113)       在java.lang.Thread.run(Thread.java:745)   引起原因:java.lang.ClassNotFoundException:com.workfusion.studio.dependencies.rpa-api_9.0.0.3找不到com.workfusion.desktop.driver.ocr.impl.OcrException       在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)       在org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)       在java.lang.ClassLoader.loadClass(ClassLoader.java:357)       在java.lang.Class.forName0(本地方法)       在java.lang.Class.forName(Class.java:264)       在org.openqa.selenium.remote.internal.CustomWrapper.isCustomWrapperElement(CustomWrapper.java:42)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:218)       在org.openqa.selenium.remote.JsonToBeanConverter.convertMap(JsonToBeanConverter.java:351)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:228)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:48)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:149)       在org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:48)       在org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)       在org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)       在org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)       在org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:656)       在org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:592)       在com.workfusion.rpa.helpers.RPA.executeScript(RPA.java:864)       在com.workfusion.rpa.helpers.RPA.executeGroovyScript(RPA.java:930)       在com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:111)       在com.workfusion.rpa.helpers.Ocr.proccessImage(Ocr.java:35)       在com.workfusion.rpa.helpers.Ocr $ proccessImage.call中(未知来源)       在org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)       在org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)       在Script2.run(Script2.groovy:7)       在com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:90)       在com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:35)       在com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:30)       在com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:17)       在com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:53)       在com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:153)       在com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:113)       在java.lang.Thread.run(Thread.java:745)

0 个答案:

没有答案