Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Issue with org.apache.poi.* jar(Issue with org.apache.poi.* jar)
Issue with org.apache.poi.* jar [message #1553068] Thu, 08 January 2015 13:34 Go to next message
Nandini malhotra is currently offline Nandini malhotraFriend
Messages: 2
Registered: January 2015
Junior Member
Hi,

I am facing an issue while exporting an EXCEL file.

The exception is as follows:

Failed to define class org.apache.poi.xssf.usermodel.XSSFWorkbook
Caused by: java.lang.NoClassDefFoundError: org/apache/poi/POIXMLDocument
Caused by: java.lang.ClassNotFoundException: org.apache.poi.POIXMLDocument

Logs are as follows:

WARN [org.jboss.modules] (http-localhost/127.0.0.1:8080-4) Failed to define class org.apache.poi.xssf.usermodel.XSSFWorkbook in Module "xxx.ear:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/apache/poi/xssf/usermodel/XSSFWorkbook
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:407) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:254) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.Module.loadModuleClass(Module.java:518) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]
at uk.co.spudsoft.birt.emitters.excel.XlsxEmitter.createWorkbook(XlsxEmitter.java:43) [org.eclipse.birt.runtime-4.3.1.jar:]
at uk.co.spudsoft.birt.emitters.excel.ExcelEmitter.start(ExcelEmitter.java:210) [org.eclipse.birt.runtime-4.3.1.jar:]
at org.eclipse.birt.report.engine.api.impl.RenderTask$ReportletRender.render(RenderTask.java:802) [org.eclipse.birt.runtime-4.3.1.jar:]
at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:321) [org.eclipse.birt.runtime-4.3.1.jar:]
at xxx.renderReportInProperFormat(BIRTReportHandler.java:208) [birt-reports-web.jar:]
at xxx..executeReportdesign(ReportRendererService.java:204) [birt-reports-web.jar:]
at xxx.doPost(BirtServlet.java:90) [birt-reports-web.jar:]
at xxx.doGet(BirtServlet.java:40) [birt-reports-web.jar:]
at xxx.doGet(BirtServlet.java:40) [birt-reports-web.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at xxx.doFilter(XSSFilter.java:73) [web.jar:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.event(JBossWebContext.java:67)
at org.jboss.modcluster.container.jbossweb.JBossWebContext$RequestListenerValve.invoke(JBossWebContext.java:48)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:389) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_45]
Caused by: java.lang.NoClassDefFoundError: org/apache/poi/POIXMLDocument
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_45]
at java.lang.ClassLoader.defineClass(Unknown Source) [rt.jar:1.7.0_45]
at java.security.SecureClassLoader.defineClass(Unknown Source) [rt.jar:1.7.0_45]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:338) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:402) [jboss-modules.jar:1.2.0.CR1]
... 37 more
Caused by: java.lang.ClassNotFoundException: org.apache.poi.POIXMLDocument from [Module "deployment.ear:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]

Any views/suggestions on this would be a great help.
Thanks in advance.
Re: Issue with org.apache.poi.* jar [message #1553107 is a reply to message #1553068] Thu, 08 January 2015 13:57 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Questions about BIRT should be posted to the BIRT forum. Moving this message to there.
Previous Topic:NPE in AggregateCalculator with Birt 4.4.1
Next Topic:Content Type plain bold partial
Goto Forum:
  


Current Time: Thu Jul 25 01:03:03 GMT 2024

Powered by FUDForum. Page generated in 0.03659 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top