title: Unable to resolve com.aspose.pdf
body: <p>I try to use <code>Aspose</code> solutions to handle <code>PDF</code> documents, but unable to resolve these classes:</p>
  
  <pre><code>import com.aspose.pdf.Document;
  import com.aspose.pdf.FileSpecification;
  </code></pre>
  
  <p>I already imported <code>aspose-pdf-2.9.0-jdk16.jar</code> into project and added following code to <code>pom.xml</code> file, but nothing changed.</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.aspose&lt;/groupId&gt;
          &lt;artifactId&gt;aspose-pdf&lt;/artifactId&gt;
          &lt;version&gt;11.8.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.media.jai&lt;/groupId&gt;
          &lt;artifactId&gt;com.springsource.javax.media.jai.core&lt;/artifactId&gt;
          &lt;version&gt;1.1.3&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;aspose-maven-repository&lt;/id&gt;
          &lt;url&gt;http://maven.aspose.com/repository/repo/&lt;/url&gt;
      &lt;/repository&gt;
      &lt;repository&gt;
          &lt;id&gt;com.springsource.repository.bundles.external&lt;/id&gt;
          &lt;name&gt;SpringSource Enterprise Bundle Repository - External Bundle Releases&lt;/name&gt;
          &lt;url&gt;http://repository.springsource.com/maven/bundles/external&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  </code></pre>