i get this error: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.poi.util.POILogFactory.<clinit>(POILogFactory.java:76) at org.apache.poi.hssf.usermodel.HSSFWorkbook.<clinit>(HSSFWorkbook.java:113) anyone know how to solve this? i already tried setting the classpaths for the POI jars. i tried copying the POI jars to my web-inf/lib folder of my web server, but still no luck.
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
you need the commons-logging.jar. It can be found in the zip you downloaded from jakarta under lib. Then you can compile
Rick Hunter
Greenhorn
Joined: Jul 04, 2002
Posts: 4
posted
0
Originally posted by Oliver Refle: you need the commons-logging.jar. It can be found in the zip you downloaded from jakarta under lib. Then you can compile
im already using the commons-logging.jar. i tried setting the classpath for it, and copying it to my web-inf/lib folder. what should i do about the commons-logging.jar?