hand79 / Hadoop

Hadoop 開發實作&筆記
0 stars 0 forks source link

Export xls not working with Jmesa 3.0.1 with Poi 3.8 jar #343

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. export xls is not working.
2. getting NoSuchMethodError
3. I tried with Poi 3.6 ,3.7 ,3.8 and 3.9 all getting exception

What is the expected output? What do you see instead?
export xls works fine.
What version of the product are you using? On what operating system?
Jmesa-3.0.1.jar,spring-3.0,windows 7

Please provide any additional information below.
Is Jmesa supports poi3.8 for export option 

getting  below exception 
java.lang.NoSuchMethodError:org.apache.poi.hssf.usermodel.HSSFCell.setCellValues
(Lorg/apache/poi/hssf/usermodel/HSSFRichTextString;)V

Original issue reported on code.google.com by rajamoha...@gmail.com on 30 Aug 2012 at 3:44

GoogleCodeExporter commented 9 years ago
POI-3.8  is not backwards compatible with POI 3.2. I encountered the same 
problem with displaytag 1.2 and Apache TIKA, which relies on POI 3.8 as a 
dependency.

As a solution, keep using POI-3.2.

I'm in the middle of doing research, but I think I'll switch from displaytag to 
jmesa, because it is actively maintained. The only other option I want to check 
out before migrating is Spring MVC's Excel export via AbstractExcelView.

Original comment by dge...@gmail.com on 28 Jan 2013 at 3:55