0

下面是抛出的异常:

com.javonet.api.NException: Could not load file or assembly 'file:///C:\downloads\UrlNomalization\Microsoft.Bing.HashUtil.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
        at System.Reflection.RuntimeAssembly._nLoad(Unknown Source)
        at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(Unknown Source)
        at System.Reflection.RuntimeAssembly.InternalLoadFrom(Unknown Source)
        at System.Reflection.Assembly.LoadFrom(Unknown Source)
        at SicsClrController.Engine.ClrEngine.LoadAssembly(Unknown Source)
        at SicsClrController.Engine.ClrEngine.processCommand(Unknown Source)
        at com.javonet.internal.BinaryStreamProtocol.executeCommand(Unknown Source)
        at com.javonet.internal.GatewayManager.loadAssembly(Unknown Source)
        at com.javonet.Javonet.<clinit>(Unknown Source)
        at Hello.main(Hello.java:20)

我的系统设置:

IntelliJ IDEA 2020.2.2(终极版)Build #IU-202.7319.50,于 2020 年 9 月 14 日构建 授权给 IntelliJ IDEA Evaluator 到期日期:2020 年 10 月 25 日 运行时版本:11.0.8+10-b944.31 amd64 VM: JetBrains sro 的 OpenJDK 64 位服务器虚拟机 Windows 10 10.0 GC:ParNew、ConcurrentMarkSweep 内存:1971M 内核:8

4

1 回答 1

0

实际上,我的 .net dll 被 Windows 阻止(因为来自第 3 方),解除阻止这个文件解决了这个问题。

于 2020-10-13T18:54:55.483 回答