java.lang.NoClassDefFoundError: org/fontbox/afm/FontMetric

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Reading pdf files(please help me)
    via by 807589,
  • Reading and Editing text of an existing pdf using JAVA
    via by Unknown author,
  • Problem using PDFBox to extract text from PDF documents
    via by Konstantinos Vasileiou,
  • FontBox Exception running 0.7.3
    via by Peter Adelmann,
  • FontBox Exception running 0.7.3
    via by Peter Adelmann,
  • FontBox Exception running 0.7.3
    via by Peter Adelmann,
  • FontBox Exception running 0.7.3
    via by Peter Adelmann,
    • java.lang.NoClassDefFoundError: org/fontbox/afm/FontMetric at org.pdfbox.pdmodel.font.PDFont.getAFM(PDFont.java:334) at org.pdfbox.pdmodel.font.PDSimpleFont.getFontHeight(PDSimpleFont.java:104) at org.pdfbox.util.PDFStreamEngine.showString(PDFStreamEngine.java:336) at org.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.java:80) at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215) at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174) at org.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:336) at org.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:259) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216) at org.pdfbox.util.PDFTextStripper.getText(PDFTextStripper.java:149) at PdfBox.PdfBoxRead.main(PdfBoxRead.java:24)
    No Bugmate found.