Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tesseract fails on MacOS #46

Closed
tomfisher opened this issue Apr 12, 2015 · 21 comments
Closed

Tesseract fails on MacOS #46

tomfisher opened this issue Apr 12, 2015 · 21 comments
Labels

Comments

@tomfisher
Copy link

I tried to build an eclipse project by mvn eclipse:eclipse -Dplatform.dependencies=true and then run the sample code tesseract code on MacOS from Eclipse with the error "Exception in thread "main" java.lang.UnsatisfiedLinkError: no jnitesseract in java.library.path"

I checked the dependencies and all platform jars are in the classpath. Then I tried to run the sample code using mvn package exec:java -Dexec.mainClass=BasicExample -Dexec.args="/open/tesseract-ocr/testing/phototest.tif" -Dplatform.dependencies=true, got the above error with no luck.

@saudet
Copy link
Member

saudet commented Apr 12, 2015

Could you call Loader.getPlatform() and let me know what that returns? Thanks

@tomfisher
Copy link
Author

It returns macosx-x86_64.

I also did trace the call, everything looks fine.

@saudet
Copy link
Member

saudet commented Apr 12, 2015

Ok, and which version of JavaCPP are you using?

@tomfisher
Copy link
Author

This is my pom.xml:


    <dependencies>
        <dependency>
            <groupId>org.bytedeco.javacpp-presets</groupId>
            <artifactId>opencv</artifactId>
            <version>2.4.11-0.11</version>
        </dependency>
        <dependency>
            <groupId>org.bytedeco.javacpp-presets</groupId>
            <artifactId>tesseract</artifactId>
            <version>3.03-rc1-0.11</version>
        </dependency>
        <dependency>
            <groupId>org.bytedeco.javacpp-presets</groupId>
            <artifactId>ffmpeg</artifactId>
            <version>2.6.1-0.11</version>
        </dependency>
    </dependencies>

@tomfisher
Copy link
Author

The resolved cpp version is 0.11

@saudet
Copy link
Member

saudet commented Apr 12, 2015

I've just tried it again, and it works just fine here on Mac OS X. Could you copy/paste the whole stack trace of the exception?

@tomfisher
Copy link
Author

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jnitesseract in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1119)
    at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:536)
    at org.bytedeco.javacpp.Loader.load(Loader.java:411)
    at org.bytedeco.javacpp.Loader.load(Loader.java:354)
    at org.bytedeco.javacpp.tesseract.<clinit>(tesseract.java:12)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at org.bytedeco.javacpp.Loader.load(Loader.java:386)
    at org.bytedeco.javacpp.Loader.load(Loader.java:354)
    at org.bytedeco.javacpp.tesseract$TessBaseAPI.<clinit>(tesseract.java:3422)
    at io.yark.core.presets.demo.BasicExample.main(BasicExample.java:12)
Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/94/2lbtjlws29zfr_jq0ljn3cnc0000gn/T/javacpp35309413919615/libjnitesseract.dylib: dlopen(/private/var/folders/94/2lbtjlws29zfr_jq0ljn3cnc0000gn/T/javacpp35309413919615/libjnitesseract.dylib, 1): Library not loaded: /Users/saudet/projects/bytedeco/javacpp-presets/tesseract/cppbuild/macosx-x86_64/lib/libtesseract.3.dylib
  Referenced from: /private/var/folders/94/2lbtjlws29zfr_jq0ljn3cnc0000gn/T/javacpp35309413919615/libjnitesseract.dylib
  Reason: image not found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
    at java.lang.Runtime.load0(Runtime.java:809)
    at java.lang.System.load(System.java:1083)
    at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:525)
    ... 9 more

I think this may caused by the dependent libs e.g. tiff are not installed in my system. If the memory serves me right, there were a couple of preloading libs when I traced why it could not load the library yesterday. I just brew install tesseract WITHOUT the --without-libtiff option and everything works fine now.

@saudet
Copy link
Member

saudet commented Apr 13, 2015

I believe I've found the problem, so check out the latest commit and let me know if you still have problems with that one. This will only have an effect if you package the dylib files in JAR files. If you install the dylib on the system with Homebrew or something, that will work without the patch as you found out. Thanks for reporting and for testing this out!

@tomfisher
Copy link
Author

It works now. Thanks.

saudet added a commit that referenced this issue Apr 14, 2015
@FloWi
Copy link

FloWi commented Apr 18, 2015

@saudet, thanks for providing a patch. Would you mind explaining on how to apply it? I need a little guide on how to build the whole project with the patch applied. I guess you guys have already documented it - so a link would be fine.

@saudet
Copy link
Member

saudet commented Apr 19, 2015

@FloWi Instructions are here: https://github.com/bytedeco/javacpp-presets/#build-instructions
It's usually just two commands:

$ bash cppbuild.sh install
$ mvn install

@FloWi
Copy link

FloWi commented Apr 20, 2015

Hi Samuel!

Thanks a lot for your help!

I tried it at work with an openSUSE box, but ran on several errors due to missing packages on my machine necessary for compiling.

Do you have a list of packages at hand that are being needed for building javacpp?

I got it to the point where the flyCapture-build is failing with this error.

https://gist.github.com/FloWi/72babed51136921203dd

@saudet
Copy link
Member

saudet commented Apr 21, 2015

I've added a couple of dependencies to the JAR files that were missing from Ubuntu, but I didn't check what we might need to bundle extra for openSUSE. In any case, most of the requests I get are for CentOS, and that pretty comes with nothing at all. And we also need someone to set up CI: #22
Would that be something you would like to work on?

FlyCapture is going to fail if we don't install it beforehand. It's not open source, and we need to go through a website to download the library, so that's pretty normal. I guess I'll make cppbuild.sh install exit at that point just to make sure users see the error message. Thanks for the feedback!

@FloWi
Copy link

FloWi commented Apr 21, 2015

Yeah, CI would be awesome for your cool project. I can take a look at the travis integration next week. This week, my nerd-time is very limited, due to real-life constraints ;-) At work we have a jenkins running monitoring our git-repos. So I know a bit about it I didn't set it up. Perhaps I can motivate my admin-buddy to help getting me started.

I did a quick check on travis and saw, that they even support mac-builds - but unfortunately they are at capacity with their mac-environment. How do you currently handle the build of new releases? Is it possible to build a mac or windows release on a linux-box?

So, I'm willing to help but don't like to make promises I can't keep. So, if anyone else has first hand experience with travis-ci and maven-builds I can't compete with that.

Good idea to provide better information on FlyCapture to the user.

Best,
Florian

Am 21.04.2015 um 13:14 schrieb Samuel Audet notifications@github.com:

I've added a couple of dependencies to the JAR files that were missing from Ubuntu, but I didn't check what we might need to bundle extra for openSUSE. In any case, most of the requests I get are for CentOS, and that pretty comes with nothing at all. And we also need someone to set up CI: #22
Would that be something you would like to work on?

FlyCapture is going to fail if we don't install it beforehand. It's not open source, and we need to go through a website to download the library, so that's pretty normal. I guess I'll make cppbuild.sh install exit at that point just to make sure users see the error message. Thanks for the feedback!


Reply to this email directly or view it on GitHub.

@saudet
Copy link
Member

saudet commented Apr 22, 2015

Right now, I just build everything here manually on my machines. It takes a while to build everything from scratch, so it's not going to scale, but I do what I can with what I have for now...

In any case, thanks for your interest! It would be great to get some help. Let me know if you need anything from me to get started! And BTW if you find a way to attract some money to this project, it might also be possible to hire someone else to work on it too...

saudet added a commit that referenced this issue Apr 26, 2015
@jiwhiz
Copy link

jiwhiz commented Jul 19, 2015

I got the same error again. Is that because the leptonica-1.72-macosx.patch not updated for Leptonica-1.72?

Thanks.

@saudet
Copy link
Member

saudet commented Jul 19, 2015

@jiwhiz I've tried it again just to make sure, and version 1.0 works fine here. Could you copy/paste the whole stack trace that you get? Thanks!

@jiwhiz
Copy link

jiwhiz commented Jul 19, 2015

Sorry, my mistake. I was testing BasicTesseractExample, and it is using 3.03-rc1-0.11. After I changed to 3.03-rc1-1.0, it is working now. Thanks a lot!

@DanielHit
Copy link

i have meet the same problem and change to 1.0. it work fine now. Thanks!

@Kumaran50
Copy link

I am getting a message like this ..kindly help
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract':
dlopen(libtesseract.dylib, 9): image not found
dlopen(libtesseract.dylib, 9): image not found
dlopen(/Users/kuvenkatraman/Library/Frameworks/tesseract.framework/tesseract, 9): image not found
dlopen(/Library/Frameworks/tesseract.framework/tesseract, 9): image not found
dlopen(/System/Library/Frameworks/tesseract.framework/tesseract, 9): image not found
Native library (darwin/libtesseract.dylib) not found in resource path (/Users/kuvenkatraman/Documents/WorkSpace/AutomationFramework/haystack_automation/target/test-classes:/Users/kuvenkatraman/Documents/WorkSpace/AutomationFramework/haystack_automation/target/classes:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-testng/2.16.1/allure-testng-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-java-commons/2.16.1/allure-java-commons-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-model/2.16.1/allure-model-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-test-filter/2.16.1/allure-test-filter-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/net/sourceforge/tess4j/tess4j/4.5.4/tess4j-4.5.4.jar:/Users/kuvenkatraman/.m2/repository/net/java/dev/jna/jna/5.6.0/jna-5.6.0.jar:/Users/kuvenkatraman/.m2/repository/com/github/jai-imageio/jai-imageio-core/1.4.0/jai-imageio-core-1.4.0.jar:/Users/kuvenkatraman/.m2/repository/org/ghost4j/ghost4j/1.0.1/ghost4j-1.0.1.jar:/Users/kuvenkatraman/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/kuvenkatraman/.m2/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar:/Users/kuvenkatraman/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.4/xmlgraphics-commons-1.4.jar:/Users/kuvenkatraman/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/fontbox/2.0.21/fontbox-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/pdfbox-tools/2.0.21/pdfbox-tools-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/pdfbox-debugger/2.0.21/pdfbox-debugger-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/jbig2-imageio/3.0.3/jbig2-imageio-3.0.3.jar:/Users/kuvenkatraman/.m2/repository/net/sourceforge/lept4j/lept4j/1.13.2/lept4j-1.13.2.jar:/Users/kuvenkatraman/.m2/repository/org/jboss/jboss-vfs/3.2.15.Final/jboss-vfs-3.2.15.Final.jar:/Users/kuvenkatraman/.m2/repository/org/jboss/logging/jboss-logging/3.1.4.GA/jboss-logging-3.1.4.GA.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-api/3.141.59/selenium-api-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-chrome-driver/3.141.59/selenium-chrome-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-edge-driver/3.141.59/selenium-edge-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-firefox-driver/3.141.59/selenium-firefox-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-ie-driver/3.141.59/selenium-ie-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-opera-driver/3.141.59/selenium-opera-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-remote-driver/3.141.59/selenium-remote-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-safari-driver/3.141.59/selenium-safari-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-support/3.141.59/selenium-support-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/kuvenkatraman/.m2/repository/com/google/guava/guava/25.0-jre/guava-25.0-jre.jar:/Users/kuvenkatraman/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/kuvenkatraman/.m2/repository/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar:/Users/kuvenkatraman/.m2/repository/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar:/Users/kuvenkatraman/.m2/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar:/Users/kuvenkatraman/.m2/repository/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar:/Users/kuvenkatraman/.m2/repository/com/squareup/okhttp3/okhttp/3.11.0/okhttp-3.11.0.jar:/Users/kuvenkatraman/.m2/repository/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar:/Users/kuvenkatraman/.m2/repository/org/bytedeco/javacpp/1.5.7/javacpp-1.5.7.jar:/Users/kuvenkatraman/.m2/repository/junit/junit/4.11/junit-4.11.jar:/Users/kuvenkatraman/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/kuvenkatraman/.m2/repository/org/testng/testng/7.4.0/testng-7.4.0.jar:/Users/kuvenkatraman/.m2/repository/com/beust/jcommander/1.78/jcommander-1.78.jar:/Users/kuvenkatraman/.m2/repository/org/webjars/jquery/3.5.1/jquery-3.5.1.jar:/Users/kuvenkatraman/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/kuvenkatraman/.m2/repository/com/aventstack/extentreports/5.0.9/extentreports-5.0.9.jar:/Users/kuvenkatraman/.m2/repository/io/reactivex/rxjava3/rxjava/3.0.4/rxjava-3.0.4.jar:/Users/kuvenkatraman/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/kuvenkatraman/.m2/repository/org/freemarker/freemarker/2.3.30/freemarker-2.3.30.jar:/Users/kuvenkatraman/.m2/repository/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar:/Users/kuvenkatraman/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar:/Users/kuvenkatraman/.m2/repository/org/projectlombok/lombok/1.18.20/lombok-1.18.20.jar:/Users/kuvenkatraman/.m2/repository/org/apache/poi/poi-ooxml/5.2.1/poi-ooxml-5.2.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/poi/poi-ooxml-lite/5.2.1/poi-ooxml-lite-5.2.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/xmlbeans/xmlbeans/5.0.3/xmlbeans-5.0.3.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar:/Users/kuvenkatraman/.m2/repository/com/github/virtuald/curvesapi/1.07/curvesapi-1.07.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users/kuvenkatraman/.m2/repository/org/apache/poi/poi/5.2.1/poi-5.2.1.jar:/Users/kuvenkatraman/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/Users/kuvenkatraman/.m2/repository/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar:/Users/kuvenkatraman/.m2/repository/org/slf4j/slf4j-api/2.0.0-alpha6/slf4j-api-2.0.0-alpha6.jar:/Users/kuvenkatraman/.m2/repository/org/slf4j/slf4j-simple/2.0.0-alpha6/slf4j-simple-2.0.0-alpha6.jar)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:301)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:461)
at com.sun.jna.Library$Handler.(Library.java:192)
at com.sun.jna.Native.loadLibrary(Native.java:646)
at com.sun.jna.Native.loadLibrary(Native.java:630)
at net.sourceforge.tess4j.util.LoadLibs.getTessAPIInstance(LoadLibs.java:85)
at net.sourceforge.tess4j.TessAPI.(TessAPI.java:42)
at net.sourceforge.tess4j.Tesseract.init(Tesseract.java:427)
at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:223)
at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:195)
at automation.haystack_automation.AppTest.main(AppTest.java:43)
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libtesseract.dylib, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(libtesseract.dylib, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Users/kuvenkatraman/Library/Frameworks/tesseract.framework/tesseract, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:248)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/Library/Frameworks/tesseract.framework/tesseract, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:248)
... 10 more
Suppressed: java.lang.UnsatisfiedLinkError: dlopen(/System/Library/Frameworks/tesseract.framework/tesseract, 9): image not found
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:248)
... 10 more
Suppressed: java.io.IOException: Native library (darwin/libtesseract.dylib) not found in resource path (/Users/kuvenkatraman/Documents/WorkSpace/AutomationFramework/haystack_automation/target/test-classes:/Users/kuvenkatraman/Documents/WorkSpace/AutomationFramework/haystack_automation/target/classes:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-testng/2.16.1/allure-testng-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-java-commons/2.16.1/allure-java-commons-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-model/2.16.1/allure-model-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/io/qameta/allure/allure-test-filter/2.16.1/allure-test-filter-2.16.1.jar:/Users/kuvenkatraman/.m2/repository/net/sourceforge/tess4j/tess4j/4.5.4/tess4j-4.5.4.jar:/Users/kuvenkatraman/.m2/repository/net/java/dev/jna/jna/5.6.0/jna-5.6.0.jar:/Users/kuvenkatraman/.m2/repository/com/github/jai-imageio/jai-imageio-core/1.4.0/jai-imageio-core-1.4.0.jar:/Users/kuvenkatraman/.m2/repository/org/ghost4j/ghost4j/1.0.1/ghost4j-1.0.1.jar:/Users/kuvenkatraman/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/kuvenkatraman/.m2/repository/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar:/Users/kuvenkatraman/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.4/xmlgraphics-commons-1.4.jar:/Users/kuvenkatraman/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/pdfbox/2.0.21/pdfbox-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/fontbox/2.0.21/fontbox-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/pdfbox-tools/2.0.21/pdfbox-tools-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/pdfbox-debugger/2.0.21/pdfbox-debugger-2.0.21.jar:/Users/kuvenkatraman/.m2/repository/org/apache/pdfbox/jbig2-imageio/3.0.3/jbig2-imageio-3.0.3.jar:/Users/kuvenkatraman/.m2/repository/net/sourceforge/lept4j/lept4j/1.13.2/lept4j-1.13.2.jar:/Users/kuvenkatraman/.m2/repository/org/jboss/jboss-vfs/3.2.15.Final/jboss-vfs-3.2.15.Final.jar:/Users/kuvenkatraman/.m2/repository/org/jboss/logging/jboss-logging/3.1.4.GA/jboss-logging-3.1.4.GA.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-java/3.141.59/selenium-java-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-api/3.141.59/selenium-api-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-chrome-driver/3.141.59/selenium-chrome-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-edge-driver/3.141.59/selenium-edge-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-firefox-driver/3.141.59/selenium-firefox-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-ie-driver/3.141.59/selenium-ie-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-opera-driver/3.141.59/selenium-opera-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-remote-driver/3.141.59/selenium-remote-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-safari-driver/3.141.59/selenium-safari-driver-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/org/seleniumhq/selenium/selenium-support/3.141.59/selenium-support-3.141.59.jar:/Users/kuvenkatraman/.m2/repository/net/bytebuddy/byte-buddy/1.8.15/byte-buddy-1.8.15.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/kuvenkatraman/.m2/repository/com/google/guava/guava/25.0-jre/guava-25.0-jre.jar:/Users/kuvenkatraman/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar:/Users/kuvenkatraman/.m2/repository/org/checkerframework/checker-compat-qual/2.0.0/checker-compat-qual-2.0.0.jar:/Users/kuvenkatraman/.m2/repository/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar:/Users/kuvenkatraman/.m2/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar:/Users/kuvenkatraman/.m2/repository/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar:/Users/kuvenkatraman/.m2/repository/com/squareup/okhttp3/okhttp/3.11.0/okhttp-3.11.0.jar:/Users/kuvenkatraman/.m2/repository/com/squareup/okio/okio/1.14.0/okio-1.14.0.jar:/Users/kuvenkatraman/.m2/repository/org/bytedeco/javacpp/1.5.7/javacpp-1.5.7.jar:/Users/kuvenkatraman/.m2/repository/junit/junit/4.11/junit-4.11.jar:/Users/kuvenkatraman/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/kuvenkatraman/.m2/repository/org/testng/testng/7.4.0/testng-7.4.0.jar:/Users/kuvenkatraman/.m2/repository/com/beust/jcommander/1.78/jcommander-1.78.jar:/Users/kuvenkatraman/.m2/repository/org/webjars/jquery/3.5.1/jquery-3.5.1.jar:/Users/kuvenkatraman/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/kuvenkatraman/.m2/repository/com/aventstack/extentreports/5.0.9/extentreports-5.0.9.jar:/Users/kuvenkatraman/.m2/repository/io/reactivex/rxjava3/rxjava/3.0.4/rxjava-3.0.4.jar:/Users/kuvenkatraman/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/kuvenkatraman/.m2/repository/org/freemarker/freemarker/2.3.30/freemarker-2.3.30.jar:/Users/kuvenkatraman/.m2/repository/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar:/Users/kuvenkatraman/.m2/repository/org/apache/logging/log4j/log4j-api/2.14.1/log4j-api-2.14.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/logging/log4j/log4j-core/2.14.1/log4j-core-2.14.1.jar:/Users/kuvenkatraman/.m2/repository/org/projectlombok/lombok/1.18.20/lombok-1.18.20.jar:/Users/kuvenkatraman/.m2/repository/org/apache/poi/poi-ooxml/5.2.1/poi-ooxml-5.2.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/poi/poi-ooxml-lite/5.2.1/poi-ooxml-lite-5.2.1.jar:/Users/kuvenkatraman/.m2/repository/org/apache/xmlbeans/xmlbeans/5.0.3/xmlbeans-5.0.3.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar:/Users/kuvenkatraman/.m2/repository/com/github/virtuald/curvesapi/1.07/curvesapi-1.07.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users/kuvenkatraman/.m2/repository/org/apache/poi/poi/5.2.1/poi-5.2.1.jar:/Users/kuvenkatraman/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/Users/kuvenkatraman/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar:/Users/kuvenkatraman/.m2/repository/com/zaxxer/SparseBitSet/1.2/SparseBitSet-1.2.jar:/Users/kuvenkatraman/.m2/repository/org/slf4j/slf4j-api/2.0.0-alpha6/slf4j-api-2.0.0-alpha6.jar:/Users/kuvenkatraman/.m2/repository/org/slf4j/slf4j-simple/2.0.0-alpha6/slf4j-simple-2.0.0-alpha6.jar)
at com.sun.jna.Native.extractFromResourcePath(Native.java:1095)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:275)
... 10 more

@saudet
Copy link
Member

saudet commented Mar 24, 2022

@Kumaran50 You'll need to add a dependency on "tesseract-platform", not just "tesseract".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants