微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

需要在 Spring Boot App 中设置 Aspose.PDF 许可证

如何解决需要在 Spring Boot App 中设置 Aspose.PDF 许可证

我在服务上注册了许可证类,它与图书馆一起工作。

但是我收到一个错误,说没有设置什么许可证!

com.aspose.pdf.exceptions.IndexOutOfRangeException: At most 4 elements (for any collection) can be viewed in evaluation mode.
    at com.aspose.pdf.ADocument.lf(UnkNown Source)
    at com.aspose.pdf.PageCollection.lf(UnkNown Source)
    at com.aspose.pdf.PageCollection.get_Item(UnkNown Source)
    at com.aspose.pdf.PageCollection.lj(UnkNown Source)
    at com.aspose.pdf.PageCollection.delete(UnkNown Source)
    at com.aspose.pdf.PageCollection.delete(UnkNown Source)

在 spring-boot 应用程序中设置许可证的最佳方法是什么?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。