I'm developping an application using poi-3.7-20101029 to simply read an XLS file. Here's the code snippet:
When I execute this code I'm getting the following error :
I don't see how I can get a class cast exception as I'm obviously using the correct types... I've already checked that I don't have different version of poi in my project, I've cleaned my project, restarted my AS but no success :-(
Does anyone has any idea about what could be causing this issue?
I'm using IBM WSAD as an IDE with Java 5.0, deploying the app on WAS 6.1
Many thanks !
posted 8 years ago
This is my mistake. I was checking for an older version of poi inside my classpath but there was an (let's say) hidden version of poi in my META-INF/lib folder...
Executing the following code showed me the problem :