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

InvalidModuleDescriptorException for org.bytedeco.teeseract.presets module version 1.5.1 #772

Closed
dwiebusch opened this issue Jul 29, 2019 · 2 comments
Labels

Comments

@dwiebusch
Copy link

There seems to be a typo in the tesseract module-info.java file (version 1.5.1) causing modularized java builds to fail. More specifically, in line 5 in the module-info.java file, tesseract is written with a double 'e' instead of a double 's':

exports org.bytedeco.teeseract.presets;

When compiling the modile via maven, this leads to an error reading the module:

Error: Error reading module ~/.m2/repository/org/bytedeco/tesseract/4.1.0-1.5.1/tesseract-4.1.0-1.5.1.jar

When trying to run with eclipse the typo is listed in the error message:

Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: ~/.m2/repository/org/bytedeco/tesseract/4.1.0-1.5.1/tesseract-4.1.0-1.5.1.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Package org.bytedeco.teeseract.presets not found in module
@saudet saudet added the bug label Jul 30, 2019
saudet added a commit that referenced this issue Jul 30, 2019
 * Fix JPMS module name for Tesseract (issue #772)
@saudet
Copy link
Member

saudet commented Jul 30, 2019

Fixed! Please give it a try with the snapshots when the builds are done in a few hours:
http://bytedeco.org/builds/

@dwiebusch
Copy link
Author

The problem is solved in the new version, thanks!

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

2 participants