• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

help with error on using HSSF

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic