我已经docx4j.NET
3.0.1
从 Nuget 安装了 vs2012。当我尝试通过此调用使用库时
WordprocessingMLPackage.load(inputS, "");
我收到此错误:
System.TypeInitializationException:
The type initializer for 'org.docx4j.openpackaging.packages.OpcPackage' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'slf4j-api,
Version=1.7.6.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies
发行版中的slf4j-api
版本docx4j.net
3.0.1
是1.7.5.0
.
包的分发有问题吗?