ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: Junit error
Date Sun, 27 Jun 2004 03:06:08 GMT
Can it be that you have a different version of ANT installed and its 
jars are on CLASSPATH?

- Alexey.

Mani G. Iyer wrote:

>Hello:
>
>When I run a JUnit test ( via Ant of course) on a class that has
>weblogic.jar in its classpath I get the following error:
>
> 
>
>[junit] Exception in thread "main" java.lang.VerifyError: (class:
>org/apache/tools/ant/taskdefs/optional/junit/FormatterElement, method:
>shouldUse signature: (Lorg/apache/tools/ant/Task;)Z) Incompatible object
>argument for function call
>
>    [junit]     at
>org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.createAndSt
>oreF
>ormatter(JUnitTestRunner.java:541)
>
>    [junit]     at
>org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT
>estR
>unner.java:494)
>
> 
>
> 
>
>I think it is the weblogic.jar because all the other tests that do not
>have
>the weblogic.jar seem to run fine.  
>
>Any ideas?  
>
>Thanks
>
> 
>
>Mani
>
> 
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message