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

Ask Ubuntu | ranjeet | 2 months ago
  1. 0

    Context file is showing an error when starting tomcat6

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

    J2 - Clean Install error

    portals-jetspeed-dev | 1 decade ago | Jonathan Hawkins
    java.lang.NoSuchMethodError: org.apache.naming.NamingContextBindingsEnumeration. <init>(Ljava/util/Iterator;)V
  3. 0

    NoSuchMethodError with GWT

    Stack Overflow | 5 years ago | Rosarch
    java.lang.NoSuchMethodError: java.util.Set.java_lang_Iterable_iterator()Ljava/util/Iterator;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Collections.emptyIterator(); is only available in Java 1.7 not in 1.6 {noformat} java.lang.NoSuchMethodError: java.util.Collections.emptyIterator()Ljava/util/Iterator; at org.hibernate.validator.internal.engine.ValidatorImpl.createIteratorForCascadedValue(ValidatorImpl.java:647) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:614) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraint(ValidatorImpl.java:723) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:601) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraint(ValidatorImpl.java:723) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:601) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraint(ValidatorImpl.java:723) at org.hibernate.validator.internal.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:601) at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:412) at org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:206) {noformat}

    Hibernate JIRA | 2 years ago | Vadim Bauer
    java.lang.NoSuchMethodError: java.util.Collections.emptyIterator()Ljava/util/Iterator;
  6. 0

    Throw java.lang.NoSuchMethodError: java.util.List.java_util_List_iterator()Ljava/util/Iterator during running test

    GitHub | 3 years ago | vparfonov
    java.lang.NoSuchMethodError: java.util.List.java_util_List_iterator()Ljava/util/Iterator;

    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.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