Bug 51397

Summary: Build problem with org.apache.poi.hssf.model.InternalWorkbook after transition from POI-3.6 to POI-3.7
Product: POI Reporter: barons <bertrand.gambouele>
Component: HSSFAssignee: POI Developers List <dev>
Severity: blocker    
Priority: P2    
Version: 3.7-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description barons 2011-06-20 19:08:35 UTC
I used the POI 3.6 library in a project and I recently migrated to the 3.7 version.

After migration, I had problems when building the project:

- In fact, I noticed that the "org.apache.poi.hssf.usermodel.HSSFWorkbook" class is "final" in the new version (3.7). And there is a class in my project that inherits from it.

I removed the "final" modifier and rebuilt the library. Now I have a new problem :
the new class "org.apache.poi.hssf.model.InternalWorkbook" is not found when building but when I replace it by "org.apache.poi.hssf.model.Workbook" there is no problem.

What is strange is that "Workbook" class is no longer exists in POI 3.7 because renamed "InternalWorkbook".

I would ask if it is a common problem or if there is a possibility to resolve it.

Yours sincerely.
Comment 1 Nick Burch 2011-06-20 21:30:43 UTC
hssf.model.Workbook was renamed to avoid confusion. Most users don't normally use it directly

HSSFWorkbook is final because you shouldn't normally be extending it. What are you doing that means you think you need to?
Comment 2 Dominik Stadler 2013-08-05 12:14:14 UTC
no response in a long time => resolving for now, please reopen with more information if this is still an issue