title: apache POI exception in reading xlsx files
body: <p>I'm using apache POI for reading <strong>xlsx</strong> files by adding below dependencies</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
              &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
              &lt;version&gt;3.8&lt;/version&gt;
          &lt;/dependency&gt;
  
  &lt;dependency&gt;
              &lt;groupId&gt;org.apache.xmlbeans&lt;/groupId&gt;
              &lt;artifactId&gt;xmlbeans&lt;/artifactId&gt;
              &lt;version&gt;2.5.0&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>I'm getting following exception while running with jetty plugin even if deployed in tomcat.</p>
  
  <pre><code>org.apache.poi.POIXMLException: java.lang.reflect.InvocationTargetException
      at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:62)
      at org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:403)
      at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:155)
  ......
  
  Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  ...........
  Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument
      at org.openxmlformats.schemas.spreadsheetml.x2006.main.StyleSheetDocument$Factory.parse(Unknown Source)
      at org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:121)
      at org.apache.poi.xssf.model.StylesTable.&lt;init&gt;(StylesTable.java:92)
      ... 186 more
  </code></pre>
  
  <p>I removed the xmlbeans dependency as the maven will automatically download poi dependencies , still the same exception.Any help?</p>