You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesse Kuhnert (JIRA)" <ji...@codehaus.org> on 2007/04/14 03:42:46 UTC
[jira] Commented: (SUREFIRE-59) Not compatible with TestNG 5.2:
java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
[ http://jira.codehaus.org/browse/SUREFIRE-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92903 ]
Jesse Kuhnert commented on SUREFIRE-59:
---------------------------------------
I'd resolve this if I had the right perms but the new 2.4-SNAPSHOT version of surefire is compatible up to version 5.5 of TestNG.
> Not compatible with TestNG 5.2: java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
> -----------------------------------------------------------------------------------------------------
>
> Key: SUREFIRE-59
> URL: http://jira.codehaus.org/browse/SUREFIRE-59
> Project: Maven Surefire
> Issue Type: Improvement
> Components: TestNG support
> Environment: <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.2</version>
> </plugin>
> <dependency>
> <groupId>org.testng</groupId>
> <artifactId>testng</artifactId>
> <version>5.2</version>
> <classifier>jdk15</classifier>
> <scope>test</scope>
> </dependency>
> Reporter: Damian Golda
> Fix For: 2.4
>
>
> I have project with dependency to testng and surefire plugin as in Environment.
> I run tests and get exception:
> org.apache.maven.surefire.booter.SurefireExecutionException: org.testng.xml.XmlSuite.setParallel(Z)V; nested exception i
> s java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
> java.lang.NoSuchMethodError: org.testng.xml.XmlSuite.setParallel(Z)V
> at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:135)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
> 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:585)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
> Please, correct surefire to be compatible with new testng.
--
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