java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception

Icesoft | wbossons | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re:Trouble integrating icefaces in javaee5 application...

    Icesoft | 9 years ago | wbossons
    java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception
  2. 0

    'org.apache.struts2.dispatcher.FilterDispatcher cannot be cast to' - MARC

    marc.info | 1 year ago
    java.lang.ClassCastException: org.apache.struts2.dispatcher.FilterDispatche= r cannot be cast to javax.servlet.Filter at com.sun.enterprise.web.WebContainer.createFilterInstance(WebCont= ainer.java:715) at com.sun.enterprise.web.WebModule.createFilterInstance(WebModule.= java:1948) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Appli= cationFilterConfig.java:248) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter= (ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applica= tionFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWra= pperValve.java:277) at org.apache.catalina.core.StandardContextValve.invoke(StandardCon= textValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipelin= e.java:641)
  3. 0

    web.xml for restful jax-ws web service (using HTTPBinding)

    Oracle Community | 9 years ago | 392 Guest
    java.lang.ClassCastException: org.mitre.hotspotting.live.web.SimpleRestService cannot be cast to javax.servlet.Servlet at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.ja va:1132) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java: 832) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.java:197) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo ntextValve.java:271) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.java:202) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.jav a:632) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.jav a:577)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception

      at edu.harvard.hmdc.vdcnet.web.servlet.VDCFacesServlet.service()
    2. edu.harvard.hmdc
      VDCFacesServlet.service
      1. edu.harvard.hmdc.vdcnet.web.servlet.VDCFacesServlet.service(VDCFacesServlet.java:89)
      1 frame
    3. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      3 frames
    4. edu.harvard.hmdc
      TermsOfUseFilter.doFilter
      1. edu.harvard.hmdc.vdcnet.web.servlet.TermsOfUseFilter.doFilter(TermsOfUseFilter.java:174)
      1 frame
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      2 frames
    6. edu.harvard.hmdc
      LoginFilter.doFilter
      1. edu.harvard.hmdc.vdcnet.web.servlet.LoginFilter.doFilter(LoginFilter.java:178)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      2 frames
    8. com.sun.rave
      UploadFilter.doFilter
      1. com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:225)
      1 frame
    9. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
      7 frames
    10. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      1 frame