java.lang.NoClassDefFoundError in Eclipse at runtime
I am relatively new to Java.
I am running this program in Eclipse 3.2.
I am calling a method executeOperation() in ExtractBomOperation class by instantiating its object from ExtractBomDialog class and then calling that method. However at executeOperation() at the line
"wb = new HSSFWorkbook();" I am getting a run time error that in Eclipse console shows as : "java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook" . I have already included poi.jar file in Eclipse.
I am sending the ExtractBomDialog and ExtractBomOperation class codes in this attachment.
Not sure why I am getting the error.Any help would be great.
Thanks in advance.