首页 > 其他分享 >org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.Do

org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.Do

时间:2023-01-14 19:44:35浏览次数:39  
标签:exception DocumentFactory dom4j cast cannot org

 dom4j的神秘bug,本地使用1.6.1改成1.1既可以了

 <dependency>
      <groupId>dom4j</groupId>
      <artifactId>dom4j</artifactId>
      <version>1.6.1</version>
    </dependency>

改成

 <dependency>
      <groupId>dom4j</groupId>
      <artifactId>dom4j</artifactId>
      <version>1.1</version>
    </dependency>

 

标签:exception,DocumentFactory,dom4j,cast,cannot,org
From: https://www.cnblogs.com/passedbylove/p/17052412.html

相关文章