title: Can't find Method getInstance() for iText7, even though it recognizes the class PdfWriter
body: <p>I want to use the pdf library iText(7) for a university project. I need it to convert a JFrame or some other Swing component directly to a pdf document. I use Eclipse and import kernel, lay, pdfa and sl4j via the pom.xml of the Maven project. It seems like the library was downloaded successfully. Therefore I can import <code>PdfWriter</code> and also declare Variables of this type.</p>
  
  <p>The problem is that I can't use the static method <code>getInstance</code> for the class <code>PdfWriter</code> which is obviously vital for using the library.
  It would be nice if someone has an idea what I did wrong importing or what is missing. I'm also open to alternatives for converting Swing components to pdf if there are any.</p>