Tag: jna tess4j

Windows中的Tess4j问题:java.lang.UnsatisfiedLinkError:在instance.doOCR(imageFile)中找不到指定的模块

经过2天的谷歌搜索后,我仍无法找到Tess4j 3.0版的问题解决方案:java.lang.UnsatisfiedLinkError:找不到指定的模块。 我在Windows 10 x64上编写服务器端Spring启动应用程序。 我使用本教程http://tess4j.sourceforge.net/tutorial/我在tess4j项目的源代码中进行了ant test ,这个命令在我的电脑上运行正常。 我还安装了VS2012的Visual C ++ Redistributable和VS2013的Visual C ++ Redistributable。 但我错过了我的电脑中的dll,libtesseract304.dll取决于: 这可能是问题的原因吗? 但是如何可能,Tess4J-3.0-src项目在我的电脑上运行正常? 我的完整堆栈跟踪: java.lang.UnsatisfiedLinkError: The specified module could not be found. at com.sun.jna.Native.open(Native Method) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:263) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.Library$Handler.(Library.java:147) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.Native.loadLibrary(Native.java:502) ~[jna.jar:4.2.1 (b0)] at com.sun.jna.Native.loadLibrary(Native.java:481) ~[jna.jar:4.2.1 (b0)] at net.sourceforge.tess4j.util.LoadLibs.getTessAPIInstance(Unknown Source) […]