cancel
Showing results for 
Search instead for 
Did you mean: 

NoClassDefFoundError: while reading XLSX file using XSSF cls for getCellType() /getStringCellValue()

Occasional Contributor

Re: NoClassDefFoundError: while reading XLSX file using XSSF cls for getCellType() /getStringCellVal

@Radford Hi,

 

Yes I do restart readyAPI after change in EXT folder.

I also had same question that the ooxml-schemas-1.4.jar file replaces poi-ooxml-schemas4.0.1.jar or sits along side it?

tried both options but did not work either. 

Not sure if i am missing somthing trivial. 

 

If nothing works I might try earlier version but not the best choice still.

 

regards,

Manali

Highlighted
Super Contributor

Re: NoClassDefFoundError: while reading XLSX file using XSSF cls for getCellType() /getStringCellVal

Just one last thought, I've just checked the "lib" folder of my Ready API installation. it actually contains the poi-* jar files. It looks like Ready API is installed with it's own copy of the Apache POI library, version 3.12 (Note: I'm currently running version 1.7).


Perhaps there is some sort of clash between the pre-installed version 3.12 and the additional 4.0.1 you have added to the ext directory. I note that the pre-installed version does not have the full ooxml-schemas file in the lib directory, possibly your code may be using this version?


A couple of suggestions:

 

  • Perhaps try just deleting the version you have added to the ext directory and use the pre-installed libraries?
  • Perhaps add just the file ooxml-schemas-1.3.jar to the lib (or ext) directory.
New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors