You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by lou maus <lo...@pirack.com> on 2003/09/03 15:25:41 UTC
NoSuchMethodError inside cactus tag
hi ...
im always ending up on the following error the moment the application
tries to start the unit-tests ...
java.lang.NoSuchMethodError:
junit.framework.TestCase.name()Ljava/lang/String;
at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.startTest(XMLJUnitResultFormatter.java:186)
at junit.framework.TestResult.startTest(TestResult.java:151)
at junit.framework.TestResult.run(TestResult.java:103)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)
Exception in thread "main"
TEST de.jamba.dating.messaging.test.web.MessagingManagerTest FAILED
anyone hat these experiences before ???
RE: NoSuchMethodError inside cactus tag
Posted by lou maus <lo...@pirack.com>.
bea 7 ships with ant 1.4 ..
make shure that u replace the ant and optional files in
weblogic700/server/lib/ant
that helps
:o)
> hi ...
>
>> Hi Lou,
>>
>> Are you using a 1.6dev nightly build (which you should as I told you
>> in earlier emails as the WL 7.x integration was fixed there)?
>
> yep ... using it ...
>
>
>> The error you're getting is due to the fact that you either use an old
>> Ant version or an old JUnit version (BTW, this is not a cactus error).
>
> i assumed that it is my fault ....
> mmmh ...
> im on it ... thanks for your reply ...
>
>
>> Thanks
>> -Vincent
>>
>>> -----Original Message-----
>>> From: lou maus [mailto:loumaus@pirack.com]
>>> Sent: 03 September 2003 15:26
>>> To: cactus-user@jakarta.apache.org
>>> Subject: NoSuchMethodError inside cactus tag
>>>
>>>
>>> hi ...
>>>
>>> im always ending up on the following error the moment the application
>>> tries to start the unit-tests ...
>>>
>>> java.lang.NoSuchMethodError:
>>> junit.framework.TestCase.name()Ljava/lang/String;
>>> at
>>>
>> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.sta
>> rt
>>> Test(XMLJUnitResultFormatter.java:186)
>>> at junit.framework.TestResult.startTest(TestResult.java:151) at
>>> junit.framework.TestResult.run(TestResult.java:103)
>>> at junit.framework.TestCase.run(TestCase.java:118)
>>> at junit.framework.TestSuite.runTest(TestSuite.java:208)
>>> at junit.framework.TestSuite.run(TestSuite.java:203)
>>> at
>>>
>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTe
>> st
>>> Runner.java:231)
>>> at
>>>
>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT
>> es
>>> tRunner.java:409)
>>> Exception in thread "main"
>>> TEST de.jamba.dating.messaging.test.web.MessagingManagerTest FAILED
>>>
>>> anyone hat these experiences before ???
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For
>> additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For
> additional commands, e-mail: cactus-user-help@jakarta.apache.org
RE: NoSuchMethodError inside cactus tag
Posted by lou maus <lo...@pirack.com>.
hi ...
> Hi Lou,
>
> Are you using a 1.6dev nightly build (which you should as I told you in
> earlier emails as the WL 7.x integration was fixed there)?
yep ... using it ...
> The error you're getting is due to the fact that you either use an old
> Ant version or an old JUnit version (BTW, this is not a cactus error).
i assumed that it is my fault ....
mmmh ...
im on it ... thanks for your reply ...
> Thanks
> -Vincent
>
>> -----Original Message-----
>> From: lou maus [mailto:loumaus@pirack.com]
>> Sent: 03 September 2003 15:26
>> To: cactus-user@jakarta.apache.org
>> Subject: NoSuchMethodError inside cactus tag
>>
>>
>> hi ...
>>
>> im always ending up on the following error the moment the application
>> tries to start the unit-tests ...
>>
>> java.lang.NoSuchMethodError:
>> junit.framework.TestCase.name()Ljava/lang/String;
>> at
>>
> org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.sta
> rt
>> Test(XMLJUnitResultFormatter.java:186)
>> at junit.framework.TestResult.startTest(TestResult.java:151) at
>> junit.framework.TestResult.run(TestResult.java:103)
>> at junit.framework.TestCase.run(TestCase.java:118)
>> at junit.framework.TestSuite.runTest(TestSuite.java:208)
>> at junit.framework.TestSuite.run(TestSuite.java:203)
>> at
>>
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTe
> st
>> Runner.java:231)
>> at
>>
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT
> es
>> tRunner.java:409)
>> Exception in thread "main"
>> TEST de.jamba.dating.messaging.test.web.MessagingManagerTest FAILED
>>
>> anyone hat these experiences before ???
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For
>> additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For
> additional commands, e-mail: cactus-user-help@jakarta.apache.org
RE: NoSuchMethodError inside cactus tag
Posted by Vincent Massol <vm...@pivolis.com>.
Hi Lou,
Are you using a 1.6dev nightly build (which you should as I told you in
earlier emails as the WL 7.x integration was fixed there)?
The error you're getting is due to the fact that you either use an old
Ant version or an old JUnit version (BTW, this is not a cactus error).
Thanks
-Vincent
> -----Original Message-----
> From: lou maus [mailto:loumaus@pirack.com]
> Sent: 03 September 2003 15:26
> To: cactus-user@jakarta.apache.org
> Subject: NoSuchMethodError inside cactus tag
>
>
> hi ...
>
> im always ending up on the following error the moment the application
> tries to start the unit-tests ...
>
> java.lang.NoSuchMethodError:
> junit.framework.TestCase.name()Ljava/lang/String;
> at
>
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.sta
rt
> Test(XMLJUnitResultFormatter.java:186)
> at junit.framework.TestResult.startTest(TestResult.java:151)
> at junit.framework.TestResult.run(TestResult.java:103)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTe
st
> Runner.java:231)
> at
>
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT
es
> tRunner.java:409)
> Exception in thread "main"
> TEST de.jamba.dating.messaging.test.web.MessagingManagerTest FAILED
>
> anyone hat these experiences before ???
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org