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

pdfbox-users | Peter Adelmann | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    FontBox Exception running 0.7.3

    pdfbox-users | 8 years ago | Peter Adelmann
    java.lang.NoClassDefFoundError: org/fontbox/afm/AFMParser
  2. 0

    FontBox Exception running 0.7.3

    incubator-pdfbox-users | 8 years ago | Peter Adelmann
    java.lang.NoClassDefFoundError: org/fontbox/afm/AFMParser
  3. 0

    FontBox Exception running 0.7.3

    pdfbox-users | 8 years ago | Peter Adelmann
    java.lang.NoClassDefFoundError: org/fontbox/afm/AFMParser
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FontBox Exception running 0.7.3

    pdfbox-users | 8 years ago | Peter Adelmann
    java.lang.NoClassDefFoundError: org/fontbox/afm/AFMParser

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/fontbox/afm/AFMParser

      at org.pdfbox.pdmodel.font.PDFont.getAFM()
    2. PDFBox - Java PDF Library
      PDVariableText.setValue
      1. org.pdfbox.pdmodel.font.PDFont.getAFM(PDFont.java:350)
      2. org.pdfbox.pdmodel.font.PDFont.getFontWidthFromAFMFile(PDFont.java:293)
      3. org.pdfbox.pdmodel.font.PDSimpleFont.getFontWidth(PDSimpleFont.java:179)
      4. org.pdfbox.pdmodel.font.PDFont.getStringWidth(PDFont.java:231)
      5. org.pdfbox.pdmodel.interactive.form.PDAppearance.calculateFontSize(PDAppearance.java:562)
      6. org.pdfbox.pdmodel.interactive.form.PDAppearance.setAppearanceValue(PDAppearance.java:310)
      7. org.pdfbox.pdmodel.interactive.form.PDVariableText.setValue(PDVariableText.java:145)
      7 frames
    3. com.test.pdfBox
      PrintFields.main
      1. com.test.pdfBox.PrintFields.printFields(PrintFields.java:82)
      2. com.test.pdfBox.PrintFields.main(PrintFields.java:151)
      2 frames