zoukankan      html  css  js  c++  java
  • java word转html 报错 org/apache/poi/xwpf/usermodel/IRunBody

    最终解决的办法是修改jar包版本,一定要对应上。

     1          <dependency>
     2             <groupId>org.apache.poi</groupId>
     3             <artifactId>poi</artifactId>
     4             <version>3.10.1</version>
     5         </dependency>
     6         <dependency>
     7             <groupId>org.apache.poi</groupId>
     8             <artifactId>poi-ooxml-schemas</artifactId>
     9             <version>3.10.1</version>
    10         </dependency>
    11         <dependency>
    12             <groupId>org.apache.poi</groupId>
    13             <artifactId>poi-ooxml</artifactId>
    14             <version>3.10.1</version>
    15         </dependency>
    16         <dependency>
    17             <groupId>org.apache.poi</groupId>
    18             <artifactId>poi-scratchpad</artifactId>
    19             <version>3.9</version>
    20         </dependency>
    21 
    22         <dependency> 
    23             <groupId>fr.opensagres.xdocreport</groupId> 
    24             <artifactId>xdocreport</artifactId> 
    25             <version>2.0.1</version> 
    26         </dependency>
    27         
    28         <dependency>
    29              <groupId>fr.opensagres.xdocreport</groupId>
    30             <artifactId>fr.opensagres.xdocreport.document</artifactId>
    31             <version>2.0.1</version>
    32         </dependency>
    33         
    34         <dependency>
    35             <groupId>fr.opensagres.xdocreport</groupId>
    36             <artifactId>org.apache.poi.xwpf.converter.core</artifactId>
    37             <version>1.0.6</version>
    38         </dependency>
    39 
    40         <dependency>
    41                <groupId>fr.opensagres.xdocreport</groupId>
    42             <artifactId>org.apache.poi.xwpf.converter.pdf</artifactId>
    43                 <version>1.0.6</version>
    44         </dependency>
    45 
    46         <dependency>
    47             <groupId>fr.opensagres.xdocreport</groupId>
    48                <artifactId>org.apache.poi.xwpf.converter.xhtml</artifactId>
    49             <version>1.0.6</version>
    50        </dependency>                    
  • 相关阅读:
    js中异步方案比较完整版(callback,promise,generator,async)
    10分钟搞懂toString和valueOf函数(详细版)
    Angular ViewChild
    Angular动画
    Angular组件之间的通讯
    用12个例子全面示范Angular的模板语法
    使用c++为node.js扩展模块
    requestAnimationFrame 实现JS动画
    使用CSS修改HTML5 input placeholder颜色
    js数组的方法
  • 原文地址:https://www.cnblogs.com/linvan/p/9059742.html
Copyright © 2011-2022 走看看