Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Cast error trying to read an excel spreadsheet with cfspreadsheet

$
0
0

I'm trying to read an Excel spreadsheet using CF spreadsheet and keep getting the error below.

 

java.lang.ClassCastException: org.apache.poi.xssf.usermodel.XSSFRichTextString cannot be cast to org.apache.poi.hssf.usermodel.HSSFRichTextString

 

Here is the line of code that causes the error:

<cfspreadsheet action="read" src = "#xfile#" sheetname="Pilot Instructions" name="pilot_sheet">

 

This is CF 11 running in IIS. Any thoughts on why this error is being generated?

 

Thanks

 

DW


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>