Apache POI / Excel / Interaction with JDeveloper 9.0.5.1 Build 1605
569514May 8 2007 — edited May 11 2007Hi all, sorry to drag you back to the past and version 9 but I need help with the above. I have created process to empty a table, populate the table and export the contents to Excel using JSP / Servlet / Session Bean and Entity Bean process. Everything works fine up until the point that I add the Excel functionality. When I debug the project it works fine - no problems. However, I deploy the project and deploy on another application server I get the following ...
java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
at
mms.servlet.Manage_GlobalExport_Servlet.doPost(Manage_GlobalExport_Servlet.java:150)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g
(9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
I have searched for the solution but I can find nothing that helps. I think I am either attaching the library incorrectly (but everything looks right) or the library is not deploying properly.
Anyone got ideas?
thanks,
Russell