Apache Poi Error Loading Xssfworkbook Class

java.lang.NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook AND java.lang.ClassNotFoundException: org.apache.poi.xssf.usermodel.XSSF

You need to add poi-ooxml-5.0.0.jar which contains that class.

Download from here.

java.lang.ClassNotFoundException: org.apache.commons.collections4.ListValuedMap

You need a more recent version of commons-collections4.
If you look at the Javadocs for ListValuedMap, you'll see that it was introduced in version 4.1, and you have 4.0 on your classpath.

You should consider using Maven or another dependency management tool as it will save you a lot of headaches.



Related Topics



Leave a reply



Submit