java.lang.ExceptionInInitializerError

GitHub | GoogleCodeExporter | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 452#141560457

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.ExceptionInInitializerError

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot load getContextTypeLoader: verify that xbean.jar is on the classpath

      at org.apache.xmlbeans.XmlBeans.buildMethod()
    2. XmlBeans
      XmlBeans.<clinit>
      1. org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:181)
      2. org.apache.xmlbeans.XmlBeans.buildNoArgMethod(XmlBeans.java:190)
      3. org.apache.xmlbeans.XmlBeans.buildGetContextTypeLoaderMethod(XmlBeans.java:200)
      4. org.apache.xmlbeans.XmlBeans.<clinit>(XmlBeans.java:126)
      4 frames
    3. Apache POI
      DocumentDocument$Factory.parse
      1. org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument$Factory.parse(Unknown Source)
      1 frame
    4. Apache POI
      XWPFDocument.onDocumentRead
      1. org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:134)
      1 frame
    5. POI
      POIXMLDocument.load
      1. org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159)
      1 frame
    6. Apache POI
      XWPFDocument.<init>
      1. org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:123)
      1 frame
    7. com.word.pdf
      wordtopdf.main
      1. com.word.pdf.wordtopdf.createPDF(wordtopdf.java:62)
      2. com.word.pdf.wordtopdf.main(wordtopdf.java:20)
      2 frames