java.lang.NoSuchMethodError: org.apache.naming.NamingContextEnumeration.<init>(Ljava/util/Iterator;)V

Ask Ubuntu | ranjeet | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Context file is showing an error when starting tomcat6

    Ask Ubuntu | 4 months ago | ranjeet
    java.lang.NoSuchMethodError: org.apache.naming.NamingContextEnumeration.<init>(Ljava/util/Iterator;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.naming.NamingContextEnumeration.<init>(Ljava/util/Iterator;)V

      at org.apache.naming.resources.FileDirContext.list()
    2. Web Container Naming Utilities
      ProxyDirContext.list
      1. org.apache.naming.resources.FileDirContext.list(FileDirContext.java:306)
      2. org.apache.naming.resources.ProxyDirContext.list(ProxyDirContext.java:487)
      2 frames
    3. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.startup.TldConfig.tldScanResourcePathsWebInf(TldConfig.java:515)
      2. org.apache.catalina.startup.TldConfig.tldScanResourcePaths(TldConfig.java:484)
      3. org.apache.catalina.startup.TldConfig.execute(TldConfig.java:257)
      4. org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:634)
      5. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      6. org.apache.catalina.core.StandardContext.start(StandardContext.java:4377)
      7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
      10. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
      11. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
      12. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
      13. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)
      14. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
      15. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      16. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      17. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      18. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      19. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      19 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame