0
我嘗試使用Aspose
解決方案來處理PDF
文件,但無法解決這些類:無法解析com.aspose.pdf
import com.aspose.pdf.Document;
import com.aspose.pdf.FileSpecification;
我已經導入到aspose-pdf-2.9.0-jdk16.jar
項目,並添加以下代碼pom.xml
文件,但沒有任何改變。
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>11.8.0</version>
</dependency>
<dependency>
<groupId>javax.media.jai</groupId>
<artifactId>com.springsource.javax.media.jai.core</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>aspose-maven-repository</id>
<url>http://maven.aspose.com/repository/repo/</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
</repositories>