java.lang.NoClassDefFoundError

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.

  • 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,
  • 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,
    • java.lang.NoClassDefFoundError: org/fontbox/afm/AFMParser at org.pdfbox.pdmodel.font.PDFont.getAFM(PDFont.java:350) at org.pdfbox.pdmodel.font.PDFont.getFontWidthFromAFMFile(PDFont.java:293) at org.pdfbox.pdmodel.font.PDSimpleFont.getFontWidth(PDSimpleFont.java:179) at org.pdfbox.pdmodel.font.PDFont.getStringWidth(PDFont.java:231) at org.pdfbox.pdmodel.interactive.form.PDAppearance.calculateFontSize(PDAppearance.java:562) at org.pdfbox.pdmodel.interactive.form.PDAppearance.setAppearanceValue(PDAppearance.java:310) at org.pdfbox.pdmodel.interactive.form.PDVariableText.setValue(PDVariableText.java:145) at com.test.pdfBox.PrintFields.printFields(PrintFields.java:82) at com.test.pdfBox.PrintFields.main(PrintFields.java:151)
    No Bugmate found.