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 don't have XMLBeans in your classpath.
I downloaded xmlbeans.jar and added to Library as External Jar. It resolved my issue.
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.
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
You're missing the extra jar files that come with POI. Include them in your classpath.
You download extra jar file. You can download :
http://www.findjar.com/index.x;jsessionid=D9C61BD4B98370C199118B8C53CC689F?query=org.apache.xmlbeans.XmlObject