Michelle Parker wrote:

> Hi all
>
> I'm trying to fix the ExceptionInInitializerError exception which is
> happening on "click" on some but not all links. (see below) I have
> traced it to the fact that the failing response pages contains an &
> character.
>
> So I am attempting to get the correct versions of all the jars (except
> obviously junit!) required for jwebunit to function!

Of course the correct versions of the jars are stated on the jwebunit
homepage for your download ;-). But as the libraries mature, I can say
that I've used jwebunit with success using httpunit-1.6, js-1.6R1,
nekohtml-0.9.4. However I haven't run into your problem (yet).

> But now the jwebunit project page says they the dependencies also
> include:
> - org.mortbay.jetty 4.2.20
> - jasper-compiler 4.1.30
> - jasper-runtime 4.1.30

> Since I'm using WebObjects and not servlets do I still need these
> other jars?

These are only for running the tests from within your IDE using Jetty.
Jetty is used as a servlet container and you can run the tests using the
JettyTestSetup decorator (IIRC the name). Jetty requires the jasper
compiler and runtime to function (IIRC). If you use another servlet
container, then you can forget about these 3 dependencies.

Martijn



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to