Could not initialize class net.sourceforge.tess4j.TessAPI solution

java.lang.NoClassDefFoundError: Could not initialize classnet.sourceforge.tess4j.TessAPI

The main reason is in the Windows environment, gsdll64.dll, liblept170.dll, libtesseract304.dll the three files are compiled by vc20XX, it is necessary to rely on library functions accordingly.

Solution:

Find the jar package following readme.html see what's inside

Search c ++ software requirements can be seen: and there was a corresponding download address. For example I use is this vc2013 compiled his address at the back: http:? //Www.microsoft.com/en-au/download/details.aspx id = 40784

 

 

Guess you like

Origin www.cnblogs.com/java2sap/p/12333010.html