[英]How to install Aspose.Words for Java using Gradle
I am creating an application with Springboot that would merge fields and convert doc/docx to pdf.我正在使用 Springboot 创建一个应用程序,它将合并字段并将 doc/docx 转换为 pdf。 However, I am having an error in dependency when installing Aspose.Words for Java using Gradle.
但是,在使用 Gradle 为 Java 安装 Aspose.Words 时出现依赖错误。 Is this the correct way on how to install it to my project?
这是如何将它安装到我的项目的正确方法吗? Here's what I added to my build.gradle file:
这是我添加到我的 build.gradle 文件中的内容:
compile('com.aspose:aspose-words:20.5:jdk17')
Here's the error I got:这是我得到的错误:
Could not resolve: com.aspose:aspose-words:20.5
无法解决:com.aspose:aspose-words:20.5
You should specify Aspose.Words repository您应该指定 Aspose.Words 存储库
maven { url 'http://repository.aspose.com/repo/' }
Please see https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-words/20.5请参阅https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-words/20.5
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.