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

Coderanch | Anup Bansal | 7 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Convert PDF files to Tiff files

    Coderanch | 7 years ago | Anup Bansal
    java.lang.NoClassDefFoundError: org.apache.fontbox.afm.FontMetric
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. 0

    Loading the class in a custom JavaDoc Taglet?

    Stack Overflow | 5 years ago | Egon Willighagen
    java.lang.ClassNotFoundException: org.openscience.cdk.Atom
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Building a simple game engine - Game Code School

    gamecodeschool.com | 6 months ago
    java.lang.ClassNotFoundException: com.example.cosmin.simplegameengine.GameView
  6. 0

    Sun-Java-6 Incorrect classpath/java.home problems in finding tools.jar

    Ask Ubuntu | 5 years ago | docSquale
    java.lang.NoClassDefFoundError: com/sun/tools/javadoc/Main

  1. iferca 3 times, last 3 weeks ago
  2. andyglick 1 times, last 3 weeks ago
  3. Andreas Häber 2 times, last 3 weeks ago
  4. carloscharx 6 times, last 4 weeks ago
  5. poroszd 1 times, last 4 weeks ago
68 more registered users
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.fontbox.afm.FontMetric

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:419)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:643)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:300)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:609)
    4 frames
  3. Apache PDFBox
    PDFImageWriter.writeImage
    1. org.apache.pdfbox.pdmodel.font.PDFont.getAFM(PDFont.java:313)
    2. org.apache.pdfbox.pdmodel.font.PDFont.getFontWidthFromAFMFile(PDFont.java:262)
    3. org.apache.pdfbox.pdmodel.font.PDSimpleFont.getFontWidth(PDSimpleFont.java:175)
    4. org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:323)
    5. org.apache.pdfbox.util.operator.ShowText.process(ShowText.java:45)
    6. org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:552)
    7. org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:248)
    8. org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:207)
    9. org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:106)
    10. org.apache.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:698)
    11. org.apache.pdfbox.util.PDFImageWriter.writeImage(PDFImageWriter.java:137)
    11 frames
  4. com.abnarmo.nl
    PDFToImage.main
    1. com.abnarmo.nl.scan.pdfconvertor.split.PDFToImage.main(PDFToImage.java:204)
    1 frame