我有一个需要 .dll 才能运行的第 3 方 jar 文件。
参考这篇文章,我已经成功地将我的 3rd 方 jar 文件和 dll 文件放入了我的个人 repo 中 .m2。
我仍然收到错误:
java.lang.UnsatisfiedLinkError: Unable to load library 'libtesseract302': The specified module could not be found.
我是否必须在 maven 中指定构建路径以确保 dll 文件正常工作?
或者有没有办法将jar文件与DLL文件一起构建以防止出现此错误?