java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)

tomcat-taglibs-user | Rahul Akolkar | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: SEVERE: Servlet /rdc-examples threw load() exception - java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap

    tomcat-taglibs-user | 8 years ago | Rahul Akolkar
    java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
  2. 0

    Re: SEVERE: Servlet /rdc-examples threw load() exception - java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap

    tomcat-taglibs-user | 8 years ago | Hendy Irawan
    java.lang.ClassNotFoundException: org.apache.xml.serialize.XMLSerializer org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Class.java:2427) java.lang.Class.getDeclaredMethods(Class.java:1791) java.beans.Introspector$1.run(Introspector.java:1272) java.security.AccessController.doPrivileged(Native Method) java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1270) java.beans.Introspector.getTargetMethodInfo(Introspector.java:1136) java.beans.Introspector.getBeanInfo(Introspector.java:387) java.beans.Introspector.getBeanInfo(Introspector.java:159) org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:3820) org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2112) org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1601) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.Generator$GenerateVisitor.generateJspFragment(Generator.java:3114) org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomDoTag(Generator.java:2429) org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1683) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) org.apache.jasper.compiler.Node$Root.accept(Node.java:489) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Generator.generate(Generator.java:3364) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) org.apache.jasper.compiler.Node$Root.accept(Node.java:489) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) org.apache.jasper.compiler.Node$Root.accept(Node.java:489) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) org.apache.jasper.compiler.Node$Root.accept(Node.java:489) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.taglibs.rdc.RDCFilter.doFilter(RDCFilter.java:140) *note* *The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.* ------------------------------ Apache Tomcat/6.0.16 On Tue, May 26, 2009 at 12:23 AM, Rahul Akolkar <rahul.akolkar@gmail.com>wrote: > On Mon, May 25, 2009 at 1:13 PM, Hendy Irawan <hendy@rainbowpurple.com> > wrote: Hi, I downloaded the RDC 1.0 binary distribution and deploying > rdc-examples.war in Tomcat 6.0.16 was unsuccessful. Here's the exception. > <snip/> > > I won't be able to try this today (can tomorrow, if needed) but from > the message below, try replacing the Commons BeanUtils jar in > rdc-examples/WEB-INF/lib with the version 1.7.0 jar from here: > > http://archive.apache.org/dist/commons/beanutils/binaries/ > > -Rahul > > May 25, 2009 9:43:29 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() May 25, 2009 9:43:50 PM org.apache.catalina.core.ApplicationContext log INFO: Marking servlet action as unavailable May 25, 2009 9:43:50 PM org.apache.catalina.core.StandardContext loadOnStartup SEVERE: Servlet /rdc-examples threw load() exception java.lang.ClassNotFoundException: > org.apache.commons.collections.FastHashMap at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Re: SEVERE: Servlet /rdc-examples threw load() exception - java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap

    tomcat-taglibs-user | 8 years ago | Rahul Akolkar
    java.lang.ClassNotFoundException: org.apache.xml.serialize.XMLSerializer >        org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) >        org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) >        java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) >        java.lang.Class.getDeclaredMethods0(Native Method) >        java.lang.Class.privateGetDeclaredMethods(Class.java:2427) >        java.lang.Class.getDeclaredMethods(Class.java:1791) >        java.beans.Introspector$1.run(Introspector.java:1272) >        java.security.AccessController.doPrivileged(Native Method) >        java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1270) >        java.beans.Introspector.getTargetMethodInfo(Introspector.java:1136) >        java.beans.Introspector.getBeanInfo(Introspector.java:387) >        java.beans.Introspector.getBeanInfo(Introspector.java:159) >        org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:3820) >        org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2112) >        org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1601) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.Generator$GenerateVisitor.generateJspFragment(Generator.java:3114) >        org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomDoTag(Generator.java:2429) >        org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1683) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Generator.generate(Generator.java:3364) >        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) >        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) >        org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) >        org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) >        org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) >        org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) >        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) >        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) >        org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) >        org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) >        org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) >        org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) >        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) >        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) >        org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) >        org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) >        org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) >        org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) >        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) >        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) >        org.apache.jasper.compiler.Node$Root.accept(Node.java:489) >        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) >        org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) >        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) >        org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) >        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) >        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) >        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) >        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) >        javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >        org.apache.taglibs.rdc.RDCFilter.doFilter(RDCFilter.java:140) > > *note* *The full stack trace of the root cause is available in the Apache > Tomcat/6.0.16 logs.* > ------------------------------ > Apache Tomcat/6.0.16 > > On Tue, May 26, 2009 at 12:23 AM, Rahul Akolkar <rahul.akolkar@gmail.com>wrote: > >> On Mon, May 25, 2009 at 1:13 PM, Hendy Irawan <hendy@rainbowpurple.com> >> wrote: >> > Hi, >> > >> > I downloaded the RDC 1.0 binary distribution and deploying >> rdc-examples.war >> > in Tomcat 6.0.16 was unsuccessful. >> > Here's the exception. >> > >> <snip/> >> >> I won't be able to try this today (can tomorrow, if needed) but from >> the message below, try replacing the Commons BeanUtils jar in >> rdc-examples/WEB-INF/lib with the version 1.7.0 jar from here: >> >>  http://archive.apache.org/dist/commons/beanutils/binaries/ >> >> -Rahul >> >> >> > May 25, 2009 9:43:29 PM org.apache.catalina.core.ApplicationContext log >> > INFO: SessionListener: contextInitialized() >> > May 25, 2009 9:43:50 PM org.apache.catalina.core.ApplicationContext log >> > INFO: Marking servlet action as unavailable >> > May 25, 2009 9:43:50 PM org.apache.catalina.core.StandardContext >> > loadOnStartup >> > SEVERE: Servlet /rdc-examples threw load() exception >> > java.lang.ClassNotFoundException: >> org.apache.commons.collections.FastHashMap at >> > >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at >> > >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
  5. 0

    Java: Exception in thread main java.lang.NoClassDefFoundError

    tech-recipes.com | 6 months ago
    java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.apache.commons.collections.FastHashMap at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)

      at java.lang.ClassLoader.loadClassInternal()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      1 frame