Hi,

Looks like you have conflicting versions in your classpath. Did you
remove the old jars?

Met vriendelijke groet / Kind regards,
 
Sander Ruitenbeek
Developer
Quality On-Line
 
Tel.: +31 (0)53-4809090
[email protected]
www.qualityonline.nl
 
Disclaimer: http://www.qualityonline.nl/disclaimer

-----Original Message-----
From: Princess [mailto:[email protected]] 
Sent: donderdag 12 maart 2009 11:44
To: POI user
Subject: removeRow()

HSSFSheet Sheet = wb.getSheetAt(0);
HSSFRow row = Sheet.getRow(i);
            if (row != null ){
                Sheet.removeRow(row);
            }
this code worked fine with POI.3.0.2-Final

With POI 3.5-beta5 throws the following error

java.lang.NoSuchMethodError:
org.apache.poi.hssf.usermodel.HSSFSheet.removeRow(Lorg/apache/poi/ss/use
rmodel/Row

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

Reply via email to