tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: Eclipse/TestNG woes
Date Tue, 02 Mar 2010 19:34:41 GMT
Looks like there is an update, but Eclipse is being terrible about
getting it ... keeps hanging.  Hey folks!  I'm off Twitter, so I'm
venting here now!


On Tue, Mar 2, 2010 at 11:23 AM, Howard Lewis Ship <hlship@gmail.com> wrote:
> Very wierd stuff ... the tests no longer run for me in Eclipse!  There
> seems to be a classpath problem with TestNG.  I tried upgrading to
> 5.11 with no luck. It all works fine from the command line.
>
> Full refresh, full clean all, .classpath files up-to date and I get
> wierd errors:
>
> org.testng.TestNGException:
> Method startup requires 6 parameters but 4 were supplied in the
> @Configuration annotation.
>        at org.testng.internal.Parameters.checkParameterTypes(Parameters.java:152)
>        at org.testng.internal.Parameters.createParameters(Parameters.java:97)
>        at org.testng.internal.Parameters.createParameters(Parameters.java:280)
>        at org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:71)
>        at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:143)
>        at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:88)
>        at org.testng.TestRunner.beforeRun(TestRunner.java:510)
>        at org.testng.TestRunner.run(TestRunner.java:478)
>        at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
>        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
>        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
>        at org.testng.SuiteRunner.run(SuiteRunner.java:204)
>        at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:877)
>        at org.testng.TestNG.runSuitesLocally(TestNG.java:842)
>        at org.testng.TestNG.run(TestNG.java:751)
>        at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
>        at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124)
>
>
> Looking into it more ... I think that the TestNG plugin is overriding
> the version of TestNG used when running the tests.  Ouch!  I'm
> checking for an updated TestNG plugin; has anyone else encountered and
> overcome this issue?
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message