1.7 now requires Javascript classes in classpath?
Graeme J Sweeney <[email protected]> Wed, 21 May 2008 11:05:34 +0100 (BST)
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Previously when upgrading, I just dropped the new jar into the
classpath. If I don't have the Javascript classes there I'll get a
warning:
Rhino classes (js.jar) not found - Javascript disabled
presumably because Javascript was detected in the response.
With 1.7 I now get, for example:
Caused an ERROR
org/mozilla/javascript/ScriptableObject
java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject
Setting:
HttpUnitOptions.setScriptingEnabled(false);
HttpUnitOptions.setExceptionsThrownOnScriptError(false);
didn't fix it.
Only adding the Javascript classes to classpath fixed it.
--
Graeme -
Outlook Express user? - http://home.in.tum.de/~jain/software/oe-quotefix/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/