1

我正在尝试使用 JNI4net/proxygen 在 java 中加载 XceedZip.dll。执行 proxygen 命令时,我收到无法加载文件或程序集 'file:///C:\Eclipse\JNITest\JNI\XceedZip.dll' 或其依赖项之一。该模块应包含程序集清单。

请在活页夹日志条目下方找到

*** Assembly Binder Log Entry  (18-07-2020 @ 10:59:43) ***

The operation failed.
Bind result: hr = 0x80131018. No description available.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  C:\Program Files (x86)\Java\jdk1.8.0_241\bin\javaw.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\Eclipse\JNITest\JNI\XceedZip.dll
LOG: Appbase = file:///C:/Program Files (x86)/Java/jdk1.8.0_241/bin/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = javaw.exe
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: No application configuration file found.
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Attempting download of new URL file:///C:/Eclipse/JNITest/JNI/XceedZip.dll.
LOG: Assembly download was successful. Attempting setup of file: C:\Eclipse\Suraj_Selenium\JNI\XceedZip1.dll
LOG: Entering run-from-source setup phase.
ERR: Error extracting manifest import from file (hr = 0x80131018).
ERR: Run-from-source setup phase failed with hr = 0x80131018.
ERR: Failed to complete setup of assembly (hr = 0x80131018). Probing terminated. 
4

0 回答 0