Problem reading Excel 2007 file .xlsx file extention, while I am trying to read with apache poi:
InputStream file = new FileInputStream(C:\\\\test.xlsx); --->
you need to include a jar file named xmlbeans-x.x.x.jar that comes under folder "your_location_of_poi\poi-x.x\ooxml-lib\" in your classpath.
xmlbeans-x.x.x.jar
Note: x.x is the version of poi that you are using and x.x.x is the version number of that jar file under the above mentioned folder
x.x
x.x.x