Import from Excel Workbook Fails with java.lang.NoClassDefFoundError

  • KM00434020
  • 21-May-2013
  • 21-May-2013

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

Import from Excel Workbook Fails with java.lang.NoClassDefFoundError

Question

Import from Excel Workbook Fails with java.lang.NoClassDefFoundError

Answer

The correct lines to add to the file WrapperEnv.conf are:

set.POI_CLASSES=%probemanager%/discoveryResources/geronimo-stax-api_1.0_spec-1.0.jar;%probemanager%/discoveryResources/poi-3.7-beta1-20100620.jar;%probemanager%/discoveryResources/poi-ooxml-3.7-beta1-20100620.jar;%probemanager%/discoveryResources/poi-ooxml-schemas-3.7-beta1-20100620.jar;%probemanager%/discoveryResources/xmlbeans-2.3.0.jar


set.COMMON_CLASSPATH=%POI_CLASSES%;%COMMON_CLASSPATH%