Hi Martijn Verburg, i am using same POI31.jar file at compile time and run time. i hope there is no chance , poi versions will be different at runtime and compile time. Because i deployed war file into weblogic server.
An app server loads libraries from many places, not just from your web app; make sure that there isn't another version of POI somewhere in the common libraries or so.
(Also consider upgrading the POI version you're using to at least 3.2 -and even better, 3.5 or 3.6- those fix many bugs in the HSSF implementation. That's unrelated to this problem, though.)
Thank you so much...........Martijn Verburg,Ulf Dittmer
i found another version of poi2.5.jar file at server side.....
it is working fine when i delete that jar file...