Forum Discussion
even with ooxml-schemas-1.3.jar added to ext folder giving same error.
Can u please chk the screenshot provided and suggest if any jar missing or need to remove?
regards,
Manali
mkajale2, you stated that you are using POI 4.0.1 in your original question, according to the Apache POI FAQ:
https://poi.apache.org/help/faq.html
You should be using ooxml-schemas-1.4.jar
Please review item 3 of the apache POI FAQ linked above, the title of item 3 is:
"I'm using the poi-ooxml-schemas jar, but my code is failing with "java.lang.NoClassDefFoundError: org/openxmlformats/schemas/*something*""
Which matches the error in you original post.
- mkajale26 years agoOccasional Contributor
As mentioned in earlier post I have used ooxml-schemas-1.4.jar but was getting same error.
Please refer screenshot of the ext folder contains jar files.
regards,
Manali
- Radford6 years agoSuper Contributor
Sorry, I missed your original reply, To be honest I'm not sure what to suggest next? I will mention the obvious, are you restarting Ready API after altering the contents of the ext directory?
The one thing that I'm not 100% sure of is whether the ooxml-schemas-1.4.jar file replaces poi-ooxml-schemas4.0.1.jar or sits along side it? The Apache FAQ uses the rather ambiguous text (my emphasis):
"Every so often, you may try to use part of the file format which isn't included in the minimal poi-ooxml-schemas jar. In this case, you should switch to the full ooxml-schemas-1.4.jar."
Does switch mean replace??? Perhaps try removing the file poi-ooxml-schemas4.0.1.jar but this is just a guess.
- mkajale26 years agoOccasional Contributor
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