[Webtest] Re: log4j error running canoo 1.7
Ben Kirk
webtest@lists.canoo.com
Tue, 12 Jul 2005 11:21:28 -0700 (PDT)
nevermind, was an issue with the taskdef setup:
<taskdef
file="${webtest.home}/webtestTaskdefs.properties">
<classpath>
<pathelement path="${webtest.home}/lib"/>
<fileset dir="${webtest.home}"
includes="lib/*.jar"/>
<fileset dir="${webtest.home}"
includes="lib/base/*.jar"/>
<fileset dir="${webtest.home}"
includes="lib/optional/*.jar"/>
</classpath>
</taskdef>
the above is borrowed from the install test.xml. my
original simple test only had lib/*.jar. when I added
all 3 it works now.
--- Ben Kirk <davidbenkirk@yahoo.com> wrote:
> hi,
> just pulled down canoo 1.7, installed it. wrote a
> simple test to login to my webapp. But when I run
> either ant -buildfile test.xml (my 1.6.2 ant) or run
> the webtest.sh wrapper so I pick up the
> lib/runtime/ant, I get this exception:
>
> java.lang.VerifyError: (class:
> org/apache/log4j/LogManager, method: <clinit>
> signature: ()V) Incompatible argument to function
> at
> org.apache.log4j.Logger.getLogger(Logger.java:94)
> at
> com.canoo.webtest.steps.Step.<clinit>(Step.java:33)
>
> I know there were issues with log4j over changes
> between LogManager and Logger. I'm pretty sure I'm
> not
> picking up any log4j besides whats in canoo/lib (to
> be
> sure I moved aside the log4j jar and that caused it
> to
> complain about the missing classes).
>
> any thoughts?
>
> thanks
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.
http://auctions.yahoo.com/