Thank you Luis for the mail archives URL. mani
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 9:45 AM To: [EMAIL PROTECTED] Subject: RE: Junit error I've noticed in this list messages complaining about the same. From messages I've seen here, I know that some versions of Weblogic (don't remember very well which ones) have certain ant-related classes within weblogic.jar file. The solution recomended in here is to unpack weblogic.jar, remove the ant-related classes and repack weblogic.jar. Anyway, it'd be a nice idea to look around the mail archives [1] to find out a bit more about this thing [1] http://marc.theaimsgroup.com/?l=ant-user&r=1&w=2 HTH Luis -----Original Message----- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Saturday, June 26, 2004 10:06 PM To: Ant Users List Subject: Re: Junit error 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
