title: NoClassDefFoundError: javax/xml/stream/XMLStreamException
body: <p>I am getting the following exception while trying to write an <code>.xlsx file using Apache POI</code></p>
  
  <pre><code>NoClassDefFoundError: javax/xml/stream/XMLStreamException
  </code></pre>
  
  <p>Here's the Code Snippet:-</p>
  
  <pre><code>XSSFWorkbook wb = new XSSFWorkbook();
          Sheet sheet = wb.createSheet();
          Row row = sheet.createRow(0);
          Cell cell = row.createCell(0);
          cell.setCellValue(100);
          FileOutputStream fileOut = new FileOutputStream("D:\\workspace\\April\\Excel Test\\workbook.xlsx");
          wb.write(fileOut);
          fileOut.close();
  </code></pre>
  
  <p>I have the following jars included </p>
  
  <ul>
  <li>dom4j-1.6.1</li>
  <li>poi-ooxml-3.5-FINAL</li>
  <li>poi-3.6-20091214</li>
  <li>xmlbeans-2.3.0</li>
  <li>ooxml-schemas-1.0</li>
  </ul>
  
  <p>Please let me know what i am doing wrong here or i am missing something.</p>