[ http://jira.codehaus.org/browse/SUREFIRE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_93263 ]
Bernhard Neuhauser commented on SUREFIRE-287: --------------------------------------------- Tried TestNG 5.5 + surefire 2.4-SNAPSHOT => Works as expected. > Regression: org.testng.xml.Praser#parse() signature changed > ----------------------------------------------------------- > > Key: SUREFIRE-287 > URL: http://jira.codehaus.org/browse/SUREFIRE-287 > Project: Maven Surefire > Issue Type: Bug > Components: TestNG support > Affects Versions: 2.0 (2.2 plugin), 2.3 > Reporter: Bernhard Neuhauser > Priority: Critical > Fix For: 2.4 > > > 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) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira