title: exception while reading Excel file with apache poi
body: <p>Problem reading Excel 2007 file .xlsx file extention, while I am trying to read with apache poi:</p>
  
  <pre><code>InputStream file = new FileInputStream(C:\\test.xlsx);
  
  ---&gt; XSSFWorkbook workbook = new XSSFWorkbook(file);
  </code></pre>
  
  <p>This line giving me an exception <code>Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlObject</code>
  please, what can be cause of this error?</p>