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>                    
  • 相关阅读:
    springboo 添加logback日志
    logback配置日志输出
    认知升级:提升理解层次的NLP思维框架
    2019第29周日
    《如何有效社交》晨读笔记
    控制论模型&心流模型&波模型
    数学中常见的思维模型
    分布式服务跟踪系统
    Spring Cloud Sleuth
    微服务调用跟踪
  • 原文地址:https://www.cnblogs.com/linvan/p/9059742.html
Copyright © 2011-2022 走看看