Bug 56341

Summary: CTFileRecoveryPr Class Missing
Product: POI Reporter: vikram <cse.vikram>
Component: XSSFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 3.9-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Dump of the system crash where no class definition found error is shown

Description vikram 2014-04-02 18:45:46 UTC
I am trying to create and XSSF Workbook and have use the poi 3.9 jars. The application is failing at creation of workbook with class definition not found for CTFileRecoveryPr class.
Comment 1 Nick Burch 2014-04-02 18:53:26 UTC
This is fully covered in the FAQ - http://poi.apache.org/faq.html#faq-N10025

(Please re-open the bug if you have a unit test to get it pulled into the poi-ooxml schemas automatically)
Comment 2 vikram 2014-04-02 19:08:00 UTC
The same piece of code is working on my friend's system with same sets of poi jar. What can be the probable reason of failure on my system. I just do not un-necessarily want to add the ooxml-schema jar as its so huge.
Comment 3 vikram 2014-04-03 10:06:00 UTC
Created attachment 31469 [details]
Dump of the system crash where no class definition found error is shown
Comment 4 Nick Burch 2014-04-03 10:23:03 UTC
You still need to read the FAQ, and you still need to do what it suggests...
Comment 5 Dominik Stadler 2014-04-06 19:12:42 UTC
Resolving based on previous comment. Please reopen if you still thing there is a problem in POI after following the steps outlined in the FAQ entry.
Comment 6 vikram 2014-06-23 18:02:16 UTC
IS there anything to do with the JDK version difference on two machines.
Comment 7 Nick Burch 2014-06-23 18:21:44 UTC
JDK shouldn't make any difference. Make sure you've really included the required jars on the classpath, and followed the instructions in the FAQ. Different machines with different JDKs just means more chances to have different jars...
Comment 8 vikram 2014-06-23 18:33:54 UTC
I am sure because I have exported the poi jar from the machine on which the code is working. Also the classpath is correctly configured because I simply delete the poi jar and add ooxml jar at same location in project folder and the behavior (system crash) is replicated, while if i again delete poi jar and add ooxml jar at same location the system runs correctly.

Really missing the concept behind this.
Comment 9 Dominik Stadler 2015-09-13 19:44:49 UTC
I still cannot see where there is a problem in POI. Maybe this is some classpath-problem or old jar file loaded from somewhere else, but likely not caused by anything in POI, therefore I am closing this once more as I don't know what else we can possibly provide here.