6122_2_FF030_JG01_04_08.dwg.zip (53.9 KB)
dwg转换pdf的时候 报异常, 异常如下:
Cannot process loading further due to incorrect file format structure.
示例代码如下
License license = new License();
license.setLicense(new File(ConvertConstant.CONVERT_LICENSE_PATH));
Image img = null;
try {
img = Image.load(new FileInputStream(srcFile));
} catch (Exception e) {
e.printStackTrace();
}
Image.load(new FileInputStream(srcFile)); 报错了
使用的版本是 Aspose.CAD for Java 20.3
环境 JDK1.7 tomcat7
样本文件在附件中, 麻烦看一下 谢谢