java.lang.NoClassDefFoundError

org/apache/tools/ant/BuildListener

Samebug tips1

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1546

  • via Unknown by Anil Saldanha,
  • Stack trace

    • java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildListener at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:233) at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:215) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:559) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:98) at org.jboss.portal.core.portlet.catalog.CatalogPortlet.render(CatalogPortlet.java:155) at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:360) at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:512) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:429) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:142) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:48) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:169) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:86) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:85) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:132)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    pulse00pulse00
    6 times, last one
    guizmaiiguizmaii
    2 times, last one
    andyglickandyglick
    Once,
    serious2monkeysserious2monkeys
    60 times, last one
    66 more bugmates