nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel /HSSFCellStyle

I am getting following exception while exporting jasper report in xls format.

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFCellStyle
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:899)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)

Related Post

nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel /HSSFCellStyle
nested exception is java.lang.NoClassDefFoundError: net/sf/ezmorph/Morpher
java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
nested exception is java.lang.IllegalStateException: Cannot create command without commandClass
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS

Comments

One Response to “nested exception is java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel /HSSFCellStyle”

  1. Shreenivasa on December 15th, 2008 9:18 am

    If you are exporting report in xls then you need to include poi.jar in the classpath. Poi.jar is Java API To Access Microsoft Format Files. Below is the download link
    “http://www.apache.org/dyn/closer.cgi/poi/dev/

    Let me know if you still face the problem?

Leave a Reply