简体   繁体   English

使用Apache Poi读取Excel时出现ListValuedMap NoClassDefFoundError?

[英]ListValuedMap NoClassDefFoundError when Reading Excel using Apache Poi?

While Executing the Program, Below are the issues Compiler is throwing 在执行程序时,以下是编译器抛出的问题

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/commons/collections4/ListValuedMap
at ReadExcel.main(ReadExcel.java:19)
Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.collections4.ListValuedMap
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more

Please help me know how to solve this Thanks in advance 请帮助我知道如何解决这个问题

您缺少某些必需的类,如果正在使用eclipse,则可能会在pom.xml上检查您的版本,可以执行cnt shift T,看看是否可以打开缺少的类(ListValuedMap)文件,并查看它是否来自与您指定的相同的jar在您的pom中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 阅读Excel Apache POI硒时出现“线程“ main”中的异常” java.lang.NoClassDefFoundError:org / apache / commons / collections4 / ListValuedMap” - “Exception in thread ”main“ java.lang.NoClassDefFoundError: org/apache/commons/collections4/ListValuedMap” on reading excel Apache POI selenium 读取Excel文件时出现Apache POI NoClassDefFoundError - Apache POI NoClassDefFoundError while reading excel files 使用Excel工作表的Apache POI读取列 - Using Apache POI reading columns of a excel sheet 使用Apache POI从Excel读取单元格 - Reading a cell from Excel using Apache POI 尝试使用Apache Poi API读取Excel工作表时出现NoClassDefFoundError - Getting NoClassDefFoundError when trying to read excel sheet using Apache poi api 无法使用Apache POI读取Excel引发NoClassDefFoundError - Not able to read excel using Apache POI throws NoClassDefFoundError NoClassDefFoundError:使用 apache poi 写入 excel 文件时出现 UnsupportedFileFormatException - NoClassDefFoundError: UnsupportedFileFormatException while using apache poi to write to an excel file 使用 apache poi 库时如何修复 NoClassDefFoundError? - How to fix NoClassDefFoundError when using apache poi library? 使用 apache POI 读取大型 excel 文件时出现 memory 错误。 任何其他选择 - Out of memory Error When reading a large excel file using apache POI. Any other alternative 使用Apache POI在Java中从Excel读取公式字段 - Reading Formula fields from Excel in Java using Apache POI
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM