title: How do I import the ImageIOUtil and the PDFText2HTML classes from pdfBox
body: <p>I`m trying to get a remote pdf file and perform some actions on it.
  For this, I use PDFBox.
  I can't get my hands on the tools package in order to import ImageIOUtil &amp; PDFText2HTML</p>
  
  <p>I added the pdfbox 2.0.6 via Maven dependency after searching the web I tried changing it to the 2.0.7 and 2.0.5</p>
  
  <p>I used the location:</p>
  
  <p>import org.apache.pdfbox.tools.PDFText2HTML;</p>
  
  <p>import org.apache.pdfbox.tools.imageio.ImageIOUtil;</p>
  
  <p>Which are specified in the Javadoc here:
  <a href="https://pdfbox.apache.org/docs/2.0.5/javadocs/org/apache/pdfbox/tools/imageio/ImageIOUtil.html" rel="nofollow noreferrer">https://pdfbox.apache.org/docs/2.0.5/javadocs/org/apache/pdfbox/tools/imageio/ImageIOUtil.html</a>
  <a href="https://pdfbox.apache.org/docs/2.0.7/javadocs/org/apache/pdfbox/tools/PDFText2HTML.html" rel="nofollow noreferrer">https://pdfbox.apache.org/docs/2.0.7/javadocs/org/apache/pdfbox/tools/PDFText2HTML.html</a></p>
  
  <p>But I get 'Cannot resolve symbol "tools"'</p>
  
  <p>my pom:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.apache.pdfbox&lt;/groupId&gt;
    &lt;artifactId&gt;pdfbox&lt;/artifactId&gt;
    &lt;version&gt;2.0.7&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.apache.pdfbox&lt;/groupId&gt;
    &lt;artifactId&gt;fontbox&lt;/artifactId&gt;
    &lt;version&gt;2.0.7&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>my class imports:</p>
  
  <pre><code>import org.apache.pdfbox.pdmodel.PDDocument;
  import org.apache.pdfbox.pdmodel.PDPage;
  import org.apache.pdfbox.tools.imageio.ImageIOUtil;
  import org.apache.pdfbox.tools.PDFText2HTML;
  import org.apache.pdfbox.text.PDFTextStripper;
  </code></pre>