Nick Burch <nick <at> torchbox.com> writes:

>  
> You almost certainly have more than one version of poi on your classpath. 
> Go back to only having the one, and all should be fine
> 
> Nick
> 

thanks nick, It solved my problem. I can successfully parse xlsx files now. but
when i try for parsing .xls file it gives me following error:
java.lang.NoSuchMethodError: isCellDateFormatted

code is:
case HSSFCell.CELL_TYPE_NUMERIC:
if (HSSFDateUtil.isCellDateFormatted(cell)== true){
        Date value2 = cell.getDateCellValue();                                  
                cols.add(value2);
}
else {
//else part
}
break;

still, Im i missing somthing?






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to