Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-287

Regression: org.testng.xml.Praser#parse() signature changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0 (2.2 plugin), 2.3
    • 2.4
    • TestNG support
    • None

    Description

      TestNG 5.3, 5.4 and 5.5 dont work with Surefire.
      TestNG 5.2 runs fine.

      Reference to the TestNG Issue: http://jira.opensymphony.com/browse/TESTNG-122

      org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;;
      nested exception is java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;

      java.lang.NoSuchMethodError: org.testng.xml.Parser.parse()Lorg/testng/xml/XmlSuite;
      at org.apache.maven.surefire.testng.TestNGXmlTestSuite.locateTestSets(TestNGXmlTestSuite.java:129)
      at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:108)
      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:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:288)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:816)

      Attachments

        Activity

          People

            Unassigned Unassigned
            cybernd Bernhard Neuhauser
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: