• 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>                    
  • 相关阅读:
    Thread系列之WaitHandle
    C# lock,Monitor 介绍(多线程并发控制)
    C#多线程学习(五) 多线程的自动管理(定时器)
    Thread系列之AutoResetEvent
    Thread系列之Thread.Sleep(0)
    (转)Java 内存模型
    哈希表(一)
    Java GC
    哈希表(二)
    图(一)
  • 原文地址:https://www.cnblogs.com/linvan/p/9059742.html
Copyright © 2020-2023  润新知