title: Issue with poi jar file java.lang.NoSuchMethodError
body: <p>I am using poi-3.7.jar in my application while i am generating an excel file i am getting the below exception. and i have excluded all the poi jars from my project. could any one help me on this?? </p>
  
  <pre><code>java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFCell.setCellValue(Lorg/apache/poi/hssf/usermodel/HSSFRichTextString;)V
      net.sf.jxls.transformer.CellTransformer.setCellValue(CellTransformer.java:112)
      net.sf.jxls.transformer.CellTransformer.transform(CellTransformer.java:99)
      net.sf.jxls.transformer.SimpleRowTransformer.transform(SimpleRowTransformer.java:51)
      net.sf.jxls.transformer.CollectionRowTransformer.transform(CollectionRowTransformer.java:65)
      net.sf.jxls.transformer.SheetTransformer.transformSheet(SheetTransformer.java:89)
      net.sf.jxls.transformer.XLSTransformer.transformWorkbook(XLSTransformer.java:238)
      net.sf.jxls.transformer.XLSTransformer.transformXLS(XLSTransformer.java:217)
      org.efs.openreports.engine.JXLSReportEngine.generateReport(JXLSReportEngine.java:97)
      org.efs.openreports.actions.ReportRunAction.execute(ReportRunAction.java:163)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:606)
      com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
      com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
      com.vzone.global.interceptor.WorkspaceInterceptor.intercept(WorkspaceInterceptor.java:31)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
      org.efs.openreports.interceptors.SecurityInterceptor.intercept(SecurityInterceptor.java:58)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
      org.efs.openreports.interceptors.BreadcrumbsInterceptor.intercept(BreadcrumbsInterceptor.java:54)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
      com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
      com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
      com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
      org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
      org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
      org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
      com.opensymphony.xwork2.ActionChainResult.execute(ActionChainResult.java:222)
      com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:362)
      com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266)
  </code></pre>
  
  <p>POM.xml :</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;vzone&lt;/groupId&gt;
      &lt;artifactId&gt;vzone&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;name&gt;vzone&lt;/name&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;Maven2&lt;/id&gt;
              &lt;url&gt;http://repo1.maven.org/maven2/&lt;/url&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;JBoss repository&lt;/id&gt;
              &lt;url&gt;http://repository.jboss.org/nexus/content/groups/public/&lt;/url&gt;
          &lt;/repository&gt;
           &lt;repository&gt;
      &lt;id&gt;pentaho-releases&lt;/id&gt;
      &lt;url&gt;http://repository.pentaho.org/artifactory/repo/&lt;/url&gt;
    &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax&lt;/groupId&gt;
              &lt;artifactId&gt;javaee-web-api&lt;/artifactId&gt;
              &lt;version&gt;7.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Struts 2 --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.mail&lt;/groupId&gt;
              &lt;artifactId&gt;mail&lt;/artifactId&gt;
              &lt;version&gt;1.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.struts&lt;/groupId&gt;
              &lt;artifactId&gt;struts2-core&lt;/artifactId&gt;
              &lt;version&gt;2.1.8&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- Struts 2 + Spring plugins --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.struts&lt;/groupId&gt;
              &lt;artifactId&gt;struts2-spring-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.1.8&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
                      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
                      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
                      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
                      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.struts&lt;/groupId&gt;
              &lt;artifactId&gt;struts2-json-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.1.8&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- database driver --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;5.1.23&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.json&lt;/groupId&gt;
              &lt;artifactId&gt;json&lt;/artifactId&gt;
              &lt;version&gt;20090211&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.microsoft.sqlserver&lt;/groupId&gt;
              &lt;artifactId&gt;sqljdbc4&lt;/artifactId&gt;
              &lt;version&gt;4.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-dbcp&lt;/groupId&gt;
              &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt;
              &lt;version&gt;1.2.2&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Spring framework --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
              &lt;version&gt;3.2.8.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-orm&lt;/artifactId&gt;
              &lt;version&gt;3.2.8.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
              &lt;version&gt;3.2.8.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
              &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
              &lt;version&gt;3.2.8.RELEASE&lt;/version&gt;
          &lt;/dependency&gt;
              &lt;!-- QuartzJobBean in spring-context-support.jar --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context-support&lt;/artifactId&gt;
          &lt;version&gt;3.2.8.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Spring + Quartz need transaction --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
          &lt;version&gt;3.2.8.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Quartz framework --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.quartz-scheduler&lt;/groupId&gt;
          &lt;artifactId&gt;quartz&lt;/artifactId&gt;
          &lt;version&gt;1.8.6&lt;/version&gt;
      &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.jackson&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-mapper-asl&lt;/artifactId&gt;
              &lt;version&gt;1.9.9&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- ORM integration, e.g Hibernate --&gt;
          &lt;!-- Hibernate core --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate&lt;/artifactId&gt;
              &lt;version&gt;3.2.7.ga&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;asm&lt;/artifactId&gt;
                      &lt;groupId&gt;asm&lt;/groupId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
              &lt;artifactId&gt;hibernate-c3p0&lt;/artifactId&gt;
              &lt;version&gt;3.3.0.GA&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;asm&lt;/groupId&gt;
              &lt;artifactId&gt;asm&lt;/artifactId&gt;
              &lt;version&gt;3.3.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- Hibernate core library dependency start --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;dom4j&lt;/groupId&gt;
              &lt;artifactId&gt;dom4j&lt;/artifactId&gt;
              &lt;version&gt;1.6.1&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-logging&lt;/groupId&gt;
              &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
              &lt;version&gt;1.1.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;commons-collections&lt;/groupId&gt;
              &lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
              &lt;version&gt;3.2.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;cglib&lt;/groupId&gt;
              &lt;artifactId&gt;cglib&lt;/artifactId&gt;
              &lt;version&gt;2.2&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;asm&lt;/artifactId&gt;
                      &lt;groupId&gt;asm&lt;/groupId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;!-- Hibernate core library dependency end --&gt;
  
          &lt;!-- Hibernate query library dependency start --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;antlr&lt;/groupId&gt;
              &lt;artifactId&gt;antlr&lt;/artifactId&gt;
              &lt;version&gt;2.7.7&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javassist&lt;/groupId&gt;
              &lt;artifactId&gt;javassist&lt;/artifactId&gt;
              &lt;version&gt;3.12.1.GA&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- Hibernate query library dependency end --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.datasift.client&lt;/groupId&gt;
              &lt;artifactId&gt;datasift-java&lt;/artifactId&gt;
              &lt;version&gt;3.0.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
              &lt;version&gt;1.7.9&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
              &lt;version&gt;1.7.9&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-threadpool&lt;/groupId&gt;
              &lt;artifactId&gt;commons-threadpool&lt;/artifactId&gt;
              &lt;version&gt;20030513.073905&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
        &lt;groupId&gt;displaytag&lt;/groupId&gt;
        &lt;artifactId&gt;displaytag&lt;/artifactId&gt;
        &lt;version&gt;1.2&lt;/version&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;itext&lt;/artifactId&gt;
              &lt;groupId&gt;com.lowagie&lt;/groupId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
   &lt;dependency&gt;
        &lt;groupId&gt;displaytag&lt;/groupId&gt;
        &lt;artifactId&gt;displaytag-export-poi&lt;/artifactId&gt;
        &lt;version&gt;1.2&lt;/version&gt;
        &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
          &lt;/exclusion&gt;
        &lt;/exclusions&gt;
   &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;log4j&lt;/groupId&gt;
      &lt;artifactId&gt;log4j&lt;/artifactId&gt;
      &lt;version&gt;1.2.15&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
    &lt;groupId&gt;pentaho&lt;/groupId&gt;
    &lt;artifactId&gt;mondrian&lt;/artifactId&gt;
    &lt;version&gt;3.0.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
      &lt;artifactId&gt;jasperreports&lt;/artifactId&gt;
      &lt;version&gt;4.5.1&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
              &lt;groupId&gt;jfree&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;net.sourceforge.jexcelapi&lt;/groupId&gt;
      &lt;artifactId&gt;jxl&lt;/artifactId&gt;
      &lt;version&gt;2.6&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;jfree&lt;/groupId&gt;
      &lt;artifactId&gt;jfreereport&lt;/artifactId&gt;
      &lt;version&gt;0.8.6&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
              &lt;groupId&gt;jfree&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;jcommon-xml&lt;/artifactId&gt;
              &lt;groupId&gt;jfree&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;pixie&lt;/artifactId&gt;
              &lt;groupId&gt;jfree&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;gnujaxp&lt;/artifactId&gt;
              &lt;groupId&gt;gnujaxp&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;groupId&gt;poi&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.jfree&lt;/groupId&gt;
      &lt;artifactId&gt;jcommon&lt;/artifactId&gt;
      &lt;version&gt;1.0.17&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.velocity&lt;/groupId&gt;
      &lt;artifactId&gt;velocity&lt;/artifactId&gt;
      &lt;version&gt;1.7&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.xbean&lt;/groupId&gt;
      &lt;artifactId&gt;xbean-spring-v2&lt;/artifactId&gt;
      &lt;version&gt;2.8&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;spring&lt;/artifactId&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.thoughtworks.xstream&lt;/groupId&gt;
      &lt;artifactId&gt;xstream&lt;/artifactId&gt;
      &lt;version&gt;1.2&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;net.sf.jxls&lt;/groupId&gt;
      &lt;artifactId&gt;jxls-core&lt;/artifactId&gt;
      &lt;version&gt;0.9.8&lt;/version&gt;
  
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;poi&lt;/artifactId&gt;
              &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.eclipse.birt.runtime&lt;/groupId&gt;
      &lt;artifactId&gt;org.eclipse.birt.runtime&lt;/artifactId&gt;
      &lt;version&gt;3.7.2.v20120214-1408&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!--  
  &lt;dependency&gt;
      &lt;groupId&gt;org.ow2.orchestra.eclipse.birt&lt;/groupId&gt;
      &lt;artifactId&gt;org.ow2.orchestra.eclipse.birt.report.engine&lt;/artifactId&gt;
      &lt;version&gt;3.7.0&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;xercesImpl&lt;/artifactId&gt;
              &lt;groupId&gt;xerces&lt;/groupId&gt;
          &lt;/exclusion&gt;
          &lt;/exclusions&gt;
  &lt;/dependency&gt;--&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;jstl&lt;/groupId&gt;
      &lt;artifactId&gt;jstl&lt;/artifactId&gt;
      &lt;version&gt;1.2&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!-- 
  &lt;dependency&gt;
      &lt;groupId&gt;xerces&lt;/groupId&gt;
      &lt;artifactId&gt;xerces&lt;/artifactId&gt;
      &lt;version&gt;2.4.0&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;xercesImpl&lt;/artifactId&gt;
              &lt;groupId&gt;xerces&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
   --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.codehaus.xfire&lt;/groupId&gt;
      &lt;artifactId&gt;xfire-spring&lt;/artifactId&gt;
      &lt;version&gt;1.2.1&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;spring&lt;/artifactId&gt;
              &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;eigenbase&lt;/groupId&gt;
    &lt;artifactId&gt;eigenbase-xom&lt;/artifactId&gt;
    &lt;version&gt;1.3.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;com.tonbeller&lt;/groupId&gt;
    &lt;artifactId&gt;jpivot&lt;/artifactId&gt;
    &lt;version&gt;1.8.0-111228&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;com.tonbeller&lt;/groupId&gt;
    &lt;artifactId&gt;wcf&lt;/artifactId&gt;
    &lt;version&gt;1.8.0-130820&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.lowagie&lt;/groupId&gt;
      &lt;artifactId&gt;itext&lt;/artifactId&gt;
      &lt;version&gt;2.1.7&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
        &lt;groupId&gt;com.tonbeller&lt;/groupId&gt;
        &lt;artifactId&gt;tbutils-wcf&lt;/artifactId&gt;
        &lt;version&gt;1.8.0-070305&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.xmlgraphics&lt;/groupId&gt;
      &lt;artifactId&gt;fop&lt;/artifactId&gt;
      &lt;version&gt;0.93&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;js&lt;/artifactId&gt;
              &lt;groupId&gt;rhino&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;net.sf.jasperreports&lt;/groupId&gt;
      &lt;artifactId&gt;jasperreports-fonts&lt;/artifactId&gt;
      &lt;version&gt;4.0.0&lt;/version&gt;
  &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;sourceDirectory&gt;src/main/java&lt;/sourceDirectory&gt;
          &lt;resources&gt;
              &lt;resource&gt;
                  &lt;directory&gt;src/main/resources&lt;/directory&gt;
              &lt;/resource&gt;
          &lt;/resources&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.7&lt;/source&gt;
                      &lt;target&gt;1.7&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.4&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;warSourceDirectory&gt;web&lt;/warSourceDirectory&gt;
                      &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I ran the below code.</p>
  
  <pre><code>public static void main(String args[]) {
          ClassLoader classloader =
                     org.apache.poi.poifs.filesystem.POIFSFileSystem.class.getClassLoader();
                  URL res = classloader.getResource(
                           "org/apache/poi/poifs/filesystem/POIFSFileSystem.class");
                  String path = res.getPath();
                  System.out.println("Core POI came from " + path);
      }
  </code></pre>
  
  <p>Output is : 
  .m2/repository/org/apache/poi/poi/3.7/poi-3.7.jar!/org/apache/poi/poifs/filesystem/POIFSFileSystem.class</p>