java.lang.NoSuchMethodError: javax.xml.soap.SOAPElement.getVisibleNamespacePrefixes()Ljava/util/Iterator;

Spring JIRA | Jeff Peterson | 9 years ago
  1. 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;
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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;
  4. 0

    HibernateDomainExporter not compatible with Hibernate 5 Configuration

    GitHub | 1 year ago | tpischke
    java.lang.NoSuchMethodError: org.hibernate.cfg.Configuration.getMappedSuperclassMappings()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

      javax.xml.soap.SOAPElement.getVisibleNamespacePrefixes()Ljava/util/Iterator;

      at org.springframework.ws.soap.saaj.support.SaajUtils.toName()
    2. Spring WS Core
      SaajSoapHeader.addHeaderElement
      1. org.springframework.ws.soap.saaj.support.SaajUtils.toName(SaajUtils.java:122)
      2. org.springframework.ws.soap.saaj.Saaj11Implementation.addHeaderElement(Saaj11Implementation.java:109)
      3. org.springframework.ws.soap.saaj.SaajSoapHeader.addHeaderElement(SaajSoapHeader.java:54)
      3 frames