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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via pdfbox-users by Peter Adelmann, 1 year ago
org/fontbox/afm/AFMParser
via pdfbox-users by Peter Adelmann, 1 year ago
org/fontbox/afm/AFMParser
via incubator-pdfbox-users by Peter Adelmann, 1 year ago
org/fontbox/afm/AFMParser
via pdfbox-users by Peter Adelmann, 1 year ago
org/fontbox/afm/AFMParser
via devx.com by Unknown author, 1 year ago
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 com.test.pdfBox.PrintFields.printFields(PrintFields.java:82)
at com.test.pdfBox.PrintFields.main(PrintFields.java:151)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.