-
Notifications
You must be signed in to change notification settings - Fork 373
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
Docker Image with Java 11 + tess4j:5.2.0 + Spring Boot 2.6.6 not working #231
Comments
Which OS are you running on? Do you have the prerequisites (such as VC++ Runtime, if on Windows; or Tesseract, if on others) installed? |
Hello @nguyenq , thank you for response. It's working fine when I run it on target OS. The target OS has VC++ installed. |
I also tried with OpenJDK base image with Tesseract-ocr. It's failing with below error.
ERROR
|
Meet similar error on Java 17.0.2 + tess4j 5.2.0 + SpringBoot 2.6.6 + CentOS 8.4.2105 + tesseract-4.1.1-2.el8.x86_64.rpm
|
@bromine0x23 , I am not sure but you are using different version of Tess4j and tesseract source. Just have a look if that's the issue. |
@vipulpatel2103 I also tested with tess4j 4.1.1 & 4.6.1, and still got error. |
Just tested again, no errors occurred on all these version: 4.6.1, 5.2.0 & 5.2.1. |
As for the |
Issue resolved with Java 8 + openjdk:8-jdk-alpine + tess4j:4.5.4. |
Docker File
Spring Boot version: 2.6.6
Tess4j: 5.2.0
Unable to load JNA module error. Locally it's running fine but not in docker image.
The text was updated successfully, but these errors were encountered: