Thanks for the reply.
I will change the poi jars with the suggested version. I am using few more
jars also as below.
javax.xml.stream-1.0.1, xmlbeans-2.3.0.jar, dom4j.jar, ooxml-schemas-1.0.jar  
Are these fine?

Below code is working fine in the standalone java class with the same set of
jars. But, getting the error in running an application in j2ee server
Error: (java.lang.NoSuchMethodError:
javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V)
at below 2nd line FileInputStream line.

String filename = "test.xlsm";
*FileInputStream fsIP= new FileInputStream(new File(filename));*                
                
XSSFWorkbook wb = new XSSFWorkbook(fsIP);             
XSSFSheet worksheet = (XSSFSheet) wb.getSheetAt(1);

Please help.

Thanks,
Pavani



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Reading-xlsx-file-using-poi3-7-tp3280913p5723398.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to