Apache Ignite.NET 加载错误 ignite.jni.dll
Apache Ignite.NET Error loading ignite.jni.dll
所以我已经配置了 Apache Ignite.NET。我在安装 JDK 等的情况下使用它。
我现在有一个有趣的问题。我在服务器上部署了我的应用程序,但我不断收到此错误:
System.TypeInitializationException: The type initializer for 'Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils' threw an exception. ---> Apache.Ignite.Core.Common.IgniteException: Failed to load ignite.jni.dll from C:\Windows\TEMP\Ignite_rqjux5at.wm5\ignite.jni.dll: [DLL could not be loaded (126: ERROR_MOD_NOT_FOUND). This can be caused by missing dependencies. Make sure that Microsoft Visual C++ 2010 Redistributable Package is installed (https://www.microsoft.com/en-us/download/details.aspx?id=14632).]
我确实在该服务器上安装了 Microsoft Visual C++ 2013 Redistributable Package 和 JRE 1.8
不知道有没有人看过这个
我在这里查看了文档:https://apacheignite-net.readme.io/v2.0/docs/troubleshooting
它说确保安装了 Microsoft Visual C++ 2010 Redistributable Package。我想知道 2013 年对它来说是不是太新了?或者还有其他一些我可能没有意识到的问题?
首先,我认为您应该安装准确的 MSVC 包版本,因为它们通常不向前或向后兼容。
其次,您的 .dll 路径包含 \Windows\TEMP\
有点奇怪。正确部署的应用程序通常不会这样做。
第三,存在一个问题https://issues.apache.org/jira/browse/IGNITE-5730,但它不会像您遇到的问题那样立即发生。
更高版本的 c++ 可再发行组件对我不起作用,所以可能有点像兔子洞。最后,我安装了 Microsoft Visual C++ 2010 Redistributable Package (x64)
所以我已经配置了 Apache Ignite.NET。我在安装 JDK 等的情况下使用它。
我现在有一个有趣的问题。我在服务器上部署了我的应用程序,但我不断收到此错误:
System.TypeInitializationException: The type initializer for 'Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils' threw an exception. ---> Apache.Ignite.Core.Common.IgniteException: Failed to load ignite.jni.dll from C:\Windows\TEMP\Ignite_rqjux5at.wm5\ignite.jni.dll: [DLL could not be loaded (126: ERROR_MOD_NOT_FOUND). This can be caused by missing dependencies. Make sure that Microsoft Visual C++ 2010 Redistributable Package is installed (https://www.microsoft.com/en-us/download/details.aspx?id=14632).]
我确实在该服务器上安装了 Microsoft Visual C++ 2013 Redistributable Package 和 JRE 1.8
不知道有没有人看过这个
我在这里查看了文档:https://apacheignite-net.readme.io/v2.0/docs/troubleshooting
它说确保安装了 Microsoft Visual C++ 2010 Redistributable Package。我想知道 2013 年对它来说是不是太新了?或者还有其他一些我可能没有意识到的问题?
首先,我认为您应该安装准确的 MSVC 包版本,因为它们通常不向前或向后兼容。
其次,您的 .dll 路径包含 \Windows\TEMP\
有点奇怪。正确部署的应用程序通常不会这样做。
第三,存在一个问题https://issues.apache.org/jira/browse/IGNITE-5730,但它不会像您遇到的问题那样立即发生。
更高版本的 c++ 可再发行组件对我不起作用,所以可能有点像兔子洞。最后,我安装了 Microsoft Visual C++ 2010 Redistributable Package (x64)