Samebug tips9

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web18838

  • org/fontbox/cmap/CMapParser
  • via Stack Overflow by shubham
    , 1 month ago
  • org/fontbox/afm/FontMetric
  • Stack trace

    • java.lang.NoClassDefFoundError: org/fontbox/cmap/CMapParser at org.pdfbox.pdmodel.font.PDFont.parseCmap( at org.pdfbox.pdmodel.font.PDFont.encode( at org.pdfbox.util.PDFStreamEngine.showString( at org.pdfbox.util.operator.ShowText.process( at org.pdfbox.util.PDFStreamEngine.processOperator( at org.pdfbox.util.PDFStreamEngine.processSubStream( at org.pdfbox.util.PDFStreamEngine.processStream( at org.pdfbox.util.PDFTextStripper.processPage( at org.pdfbox.util.PDFTextStripper.processPages( at org.pdfbox.util.PDFTextStripper.writeText( at org.pdfbox.util.PDFTextStripper.getText( at PDFTextParser.pdftoText( at PDFTextParser.main( Caused by: java.lang.ClassNotFoundException: org.fontbox.cmap.CMapParser at$ Source) at Method) at Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 9 months ago
    3 times, 3 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    2363 more bugmates