【已解决】Exception in thread “main“ java.lang.UnsatisfiedLinkError: Unable to load library ‘tesseract‘:
使用tess4j时报错信息如下:
Exception in thread “main” java.lang.UnsatisfiedLinkError: Unable to load library ‘tesseract’: Native library (darwin/libtesseract.dylib) not found in resource path ([file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/charsets.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/deploy.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/cldrdata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/dnsns.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/jaccess.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/jfxrt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/localedata.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/nashorn.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/sunec.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext/zipfs.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/javaws.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jce.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jfr.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jfxswt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jsse.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/management-agent.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/plugin.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/resources.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/rt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/ant-javafx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/dt.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/javafx-mx.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/jconsole.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/packager.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/sa-jdi.jar, file:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/tools.jar, file:/Users/yanxiaofei/gitRepository/target/classes/, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-starter-web/2.1.16.RELEASE/spring-boot-starter-web-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-starter/2.1.16.RELEASE/spring-boot-starter-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot/2.1.16.RELEASE/spring-boot-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-autoconfigure/2.1.16.RELEASE/spring-boot-autoconfigure-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-starter-logging/2.1.16.RELEASE/spring-boot-starter-logging-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/logging/log4j/log4j-to-slf4j/2.11.2/log4j-to-slf4j-2.11.2.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/logging/log4j/log4j-api/2.11.2/log4j-api-2.11.2.jar, file:/Library/apache-maven-3.5.4/repo/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar, file:/Library/apache-maven-3.5.4/repo/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-starter-json/2.1.16.RELEASE/spring-boot-starter-json-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/com/fasterxml/jackson/core/jackson-databind/2.9.10.5/jackson-databind-2.9.10.5.jar, file:/Library/apache-maven-3.5.4/repo/com/fasterxml/jackson/core/jackson-annotations/2.9.10/jackson-annotations-2.9.10.jar, file:/Library/apache-maven-3.5.4/repo/com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10.jar, file:/Library/apache-maven-3.5.4/repo/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.10/jackson-datatype-jdk8-2.9.10.jar, file:/Library/apache-maven-3.5.4/repo/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.10/jackson-datatype-jsr310-2.9.10.jar, file:/Library/apache-maven-3.5.4/repo/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.10/jackson-module-parameter-names-2.9.10.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-starter-tomcat/2.1.16.RELEASE/spring-boot-starter-tomcat-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.37/tomcat-embed-websocket-9.0.37.jar, file:/Library/apache-maven-3.5.4/repo/org/hibernate/validator/hibernate-validator/6.0.20.Final/hibernate-validator-6.0.20.Final.jar, file:/Library/apache-maven-3.5.4/repo/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar, file:/Library/apache-maven-3.5.4/repo/org/jboss/logging/jboss-logging/3.3.3.Final/jboss-logging-3.3.3.Final.jar, file:/Library/apache-maven-3.5.4/repo/com/fasterxml/classmate/1.4.0/classmate-1.4.0.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-web/5.1.17.RELEASE/spring-web-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-beans/5.1.17.RELEASE/spring-beans-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-webmvc/5.1.17.RELEASE/spring-webmvc-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-expression/5.1.17.RELEASE/spring-expression-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-starter-test/2.1.16.RELEASE/spring-boot-starter-test-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-test/2.1.16.RELEASE/spring-boot-test-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-test-autoconfigure/2.1.16.RELEASE/spring-boot-test-autoconfigure-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar, file:/Library/apache-maven-3.5.4/repo/net/minidev/json-smart/2.3/json-smart-2.3.jar, file:/Library/apache-maven-3.5.4/repo/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar, file:/Library/apache-maven-3.5.4/repo/junit/junit/4.12/junit-4.12.jar, file:/Library/apache-maven-3.5.4/repo/org/assertj/assertj-core/3.11.1/assertj-core-3.11.1.jar, file:/Library/apache-maven-3.5.4/repo/org/mockito/mockito-core/2.23.4/mockito-core-2.23.4.jar, file:/Library/apache-maven-3.5.4/repo/net/bytebuddy/byte-buddy-agent/1.9.16/byte-buddy-agent-1.9.16.jar, file:/Library/apache-maven-3.5.4/repo/org/objenesis/objenesis/2.6/objenesis-2.6.jar, file:/Library/apache-maven-3.5.4/repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, file:/Library/apache-maven-3.5.4/repo/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar, file:/Library/apache-maven-3.5.4/repo/org/skyscreamer/jsonassert/1.5.0/jsonassert-1.5.0.jar, file:/Library/apache-maven-3.5.4/repo/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-core/5.1.17.RELEASE/spring-core-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-jcl/5.1.17.RELEASE/spring-jcl-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/xmlunit/xmlunit-core/2.6.4/xmlunit-core-2.6.4.jar, file:/Library/apache-maven-3.5.4/repo/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar, file:/Library/apache-maven-3.5.4/repo/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/boot/spring-boot-starter-aop/2.1.16.RELEASE/spring-boot-starter-aop-2.1.16.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-aop/5.1.17.RELEASE/spring-aop-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/aspectj/aspectjweaver/1.9.6/aspectjweaver-1.9.6.jar, file:/Library/apache-maven-3.5.4/repo/net/sourceforge/tess4j/tess4j/3.4.8/tess4j-3.4.8.jar, file:/Library/apache-maven-3.5.4/repo/net/java/dev/jna/jna/4.5.2/jna-4.5.2.jar, file:/Library/apache-maven-3.5.4/repo/com/github/jai-imageio/jai-imageio-core/1.4.0/jai-imageio-core-1.4.0.jar, file:/Library/apache-maven-3.5.4/repo/org/ghost4j/ghost4j/1.0.1/ghost4j-1.0.1.jar, file:/Library/apache-maven-3.5.4/repo/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/xmlgraphics/xmlgraphics-commons/1.4/xmlgraphics-commons-1.4.jar, file:/Library/apache-maven-3.5.4/repo/com/lowagie/itext/2.1.7/itext-2.1.7.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/pdfbox/pdfbox/2.0.9/pdfbox-2.0.9.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/pdfbox/fontbox/2.0.9/fontbox-2.0.9.jar, file:/Library/apache-maven-3.5.4/repo/commons-logging/commons-logging/1.2/commons-logging-1.2.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/pdfbox/pdfbox-tools/2.0.9/pdfbox-tools-2.0.9.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/pdfbox/pdfbox-debugger/2.0.9/pdfbox-debugger-2.0.9.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/pdfbox/jbig2-imageio/3.0.0/jbig2-imageio-3.0.0.jar, file:/Library/apache-maven-3.5.4/repo/net/sourceforge/lept4j/lept4j/1.6.4/lept4j-1.6.4.jar, file:/Library/apache-maven-3.5.4/repo/org/jboss/jboss-vfs/3.2.12.Final/jboss-vfs-3.2.12.Final.jar, file:/Library/apache-maven-3.5.4/repo/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar, file:/Library/apache-maven-3.5.4/repo/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar, file:/Library/apache-maven-3.5.4/repo/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar, file:/Library/apache-maven-3.5.4/repo/org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.jar, file:/Library/apache-maven-3.5.4/repo/org/slf4j/log4j-over-slf4j/1.7.30/log4j-over-slf4j-1.7.30.jar, file:/Library/apache-maven-3.5.4/repo/com/relevantcodes/extentreports/2.41.1/extentreports-2.41.1.jar, file:/Library/apache-maven-3.5.4/repo/org/jsoup/jsoup/1.8.3/jsoup-1.8.3.jar, file:/Library/apache-maven-3.5.4/repo/org/xerial/sqlite-jdbc/3.25.2/sqlite-jdbc-3.25.2.jar, file:/Library/apache-maven-3.5.4/repo/org/freemarker/freemarker/2.3.30/freemarker-2.3.30.jar, file:/Library/apache-maven-3.5.4/repo/org/mongodb/mongodb-driver/3.8.2/mongodb-driver-3.8.2.jar, file:/Library/apache-maven-3.5.4/repo/org/mongodb/bson/3.8.2/bson-3.8.2.jar, file:/Library/apache-maven-3.5.4/repo/org/mongodb/mongodb-driver-core/3.8.2/mongodb-driver-core-3.8.2.jar, file:/Library/apache-maven-3.5.4/repo/com/vimalselvam/testng-extentsreport/1.3.1/testng-extentsreport-1.3.1.jar, file:/Library/apache-maven-3.5.4/repo/com/aventstack/extentreports/3.0.6/extentreports-3.0.6.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/httpcomponents/httpclient/4.5.12/httpclient-4.5.12.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/httpcomponents/httpmime/4.5.12/httpmime-4.5.12.jar, file:/Library/apache-maven-3.5.4/repo/org/testng/testng/6.14.3/testng-6.14.3.jar, file:/Library/apache-maven-3.5.4/repo/com/beust/jcommander/1.72/jcommander-1.72.jar, file:/Library/apache-maven-3.5.4/repo/org/apache-extras/beanshell/bsh/2.0b6/bsh-2.0b6.jar, file:/Library/apache-maven-3.5.4/repo/velocity/velocity-dep/1.4/velocity-dep-1.4.jar, file:/Library/apache-maven-3.5.4/repo/com/google/inject/guice/3.0/guice-3.0.jar, file:/Library/apache-maven-3.5.4/repo/javax/inject/javax.inject/1/javax.inject-1.jar, file:/Library/apache-maven-3.5.4/repo/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/Library/apache-maven-3.5.4/repo/org/uncommons/reportng/1.1.2/reportng-1.1.2.jar, file:/Library/apache-maven-3.5.4/repo/org/testng/testng/5.0/testng-5.0-jdk15.jar, file:/Library/apache-maven-3.5.4/repo/ant/ant/1.6.5/ant-1.6.5.jar, file:/Library/apache-maven-3.5.4/repo/velocity/velocity/1.4/velocity-1.4.jar, file:/Library/apache-maven-3.5.4/repo/com/google/guava/guava/21.0/guava-21.0.jar, file:/Library/apache-maven-3.5.4/repo/com/alibaba/fastjson/1.2.62/fastjson-1.2.62.jar, file:/Library/apache-maven-3.5.4/repo/io/appium/java-client/7.5.1/java-client-7.5.1.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-support/3.14.0/selenium-support-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-api/3.14.0/selenium-api-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar, file:/Library/apache-maven-3.5.4/repo/cglib/cglib/3.3.0/cglib-3.3.0.jar, file:/Library/apache-maven-3.5.4/repo/org/ow2/asm/asm/7.1/asm-7.1.jar, file:/Library/apache-maven-3.5.4/repo/commons-validator/commons-validator/1.7/commons-validator-1.7.jar, file:/Library/apache-maven-3.5.4/repo/commons-digester/commons-digester/2.1/commons-digester-2.1.jar, file:/Library/apache-maven-3.5.4/repo/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-context/5.1.17.RELEASE/spring-context-5.1.17.RELEASE.jar, file:/Library/apache-maven-3.5.4/repo/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-chrome-driver/3.14.0/selenium-chrome-driver-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-edge-driver/3.14.0/selenium-edge-driver-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-firefox-driver/3.14.0/selenium-firefox-driver-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-ie-driver/3.14.0/selenium-ie-driver-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-opera-driver/3.14.0/selenium-opera-driver-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-remote-driver/3.14.0/selenium-remote-driver-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/org/seleniumhq/selenium/selenium-safari-driver/3.14.0/selenium-safari-driver-3.14.0.jar, file:/Library/apache-maven-3.5.4/repo/net/bytebuddy/byte-buddy/1.9.16/byte-buddy-1.9.16.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar, file:/Library/apache-maven-3.5.4/repo/com/squareup/okhttp3/okhttp/3.11.0/okhttp-3.11.0.jar, file:/Library/apache-maven-3.5.4/repo/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar, file:/Library/apache-maven-3.5.4/repo/com/alibaba/easyexcel/2.2.6/easyexcel-2.2.6.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/poi/poi-ooxml-schemas/3.17/poi-ooxml-schemas-3.17.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/xmlbeans/xmlbeans/2.6.0/xmlbeans-2.6.0.jar, file:/Library/apache-maven-3.5.4/repo/stax/stax-api/1.0.1/stax-api-1.0.1.jar, file:/Library/apache-maven-3.5.4/repo/org/ehcache/ehcache/3.6.3/ehcache-3.6.3.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/poi/poi-excelant/4.1.2/poi-excelant-4.1.2.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/ant/ant/1.8.2/ant-1.8.2.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.jar, file:/Library/apache-maven-3.5.4/repo/commons-io/commons-io/2.7/commons-io-2.7.jar, file:/Library/apache-maven-3.5.4/repo/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar, file:/Library/apache-maven-3.5.4/repo/log4j/log4j/1.2.17/log4j-1.2.17.jar, file:/Library/apache-maven-3.5.4/repo/javax/servlet/jstl/1.2/jstl-1.2.jar, file:/Library/apache-maven-3.5.4/repo/taglibs/standard/1.1.2/standard-1.1.2.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/tomcat/embed/tomcat-embed-jasper/9.0.37/tomcat-embed-jasper-9.0.37.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/tomcat/embed/tomcat-embed-core/9.0.37/tomcat-embed-core-9.0.37.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/tomcat/tomcat-annotations-api/9.0.37/tomcat-annotations-api-9.0.37.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/tomcat/embed/tomcat-embed-el/9.0.37/tomcat-embed-el-9.0.37.jar, file:/Library/apache-maven-3.5.4/repo/org/eclipse/jdt/ecj/3.18.0/ecj-3.18.0.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/poi/poi/3.16/poi-3.16.jar, file:/Library/apache-maven-3.5.4/repo/commons-codec/commons-codec/1.11/commons-codec-1.11.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/commons/commons-collections4/4.1/commons-collections4-4.1.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/poi/poi-ooxml/3.16/poi-ooxml-3.16.jar, file:/Library/apache-maven-3.5.4/repo/com/github/virtuald/curvesapi/1.04/curvesapi-1.04.jar, file:/Library/apache-maven-3.5.4/repo/org/apache/commons/commons-email/1.4/commons-email-1.4.jar, file:/Library/apache-maven-3.5.4/repo/com/sun/mail/javax.mail/1.6.2/javax.mail-1.6.2.jar, file:/Library/apache-maven-3.5.4/repo/javax/activation/activation/1.1.1/activation-1.1.1.jar, file:/Library/apache-maven-3.5.4/repo/commons-lang/commons-lang/2.6/commons-lang-2.6.jar, file:/Library/apache-maven-3.5.4/repo/org/quartz-scheduler/quartz/2.3.0/quartz-2.3.0.jar, file:/Library/apache-maven-3.5.4/repo/com/mchange/mchange-commons-java/0.2.11/mchange-commons-java-0.2.11.jar, file:/Library/apache-maven-3.5.4/repo/com/jgoodies/forms/1.2.1/forms-1.2.1.jar, file:/Library/apache-maven-3.5.4/repo/org/python/jython/2.7.0/jython-2.7.0.jar, file:/Library/apache-maven-3.5.4/repo/org/springframework/spring-test/5.1.17.RELEASE/spring-test-5.1.17.RELEASE.jar, file:/Applications/IntelliJ%20IDEA.app/Contents/lib/idea_rt.jar])
原因:
没有装 Tesseract 识别引擎,现在用MAC 实现 Tesseract 的安装。其他系统请官网或者百度 Tesseract 是怎么安装的。
解决方法:
brew install tesseract