Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError

后端 未结 1 1866
没有蜡笔的小新
没有蜡笔的小新 2021-01-19 05:35

I am trying to read a .docx file into a JTextPane, but its giving some exception. I am using POI library. What should I do? Help me out, please. He

相关标签:
1条回答
  • 2021-01-19 05:55

    In addition to the apache-poi JAR files, for example,

      1869113  11-26-12 17:22   poi-3.9/poi-3.9-20121203.jar
       936648  11-26-12 17:22   poi-3.9/poi-ooxml-3.9-20121203.jar
      4802621  11-26-12 17:22   poi-3.9/poi-ooxml-schemas-3.9-20121203.jar
    

    You'll also need the JAR files from ooxml-lib in your classpath:

       313898  04-05-09 14:28   poi-3.9/ooxml-lib/dom4j-1.6.1.jar
        26514  02-23-11 12:31   poi-3.9/ooxml-lib/stax-api-1.0.1.jar
      2666695  04-05-09 14:29   poi-3.9/ooxml-lib/xmlbeans-2.3.0.jar
    
    0 讨论(0)
提交回复
热议问题