Re: 1.7 now requires Javascript classes in classpath?
"Wolfgang Fahl" <[email protected]> Wed, 21 May 2008 12:55:16 +0200
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Organization | BITPlan GmbH |
| Message-ID | <[email protected]> |
Dear Grame, thanks for the notice. Please provide a stack trace. You are welcome to file a bug report for this. Yours Wolfgang Date sent: Wed, 21 May 2008 11:05:34 +0100 (BST) From: Graeme J Sweeney <httpunit- [email protected]> To: [email protected] Subject: [Httpunit-develop] 1.7 now requires Javascript classes in classpath? Send reply to: Graeme J Sweeney <httpunit- [email protected]>, Discussion of use and development of HttpUnit <[email protected]> <httpunit- develop.lists.sourceforge.net> <mailto:httpunit-develop- [email protected]?subject=unsubscribe> <mailto:httpunit-develop- [email protected]?subject=subscribe> > 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/ > _______________________________________________ > Httpunit-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/httpunit-develop BITPlan - smart solutions Pater-Delp-Str. 1, D-47877 Willich Schiefbahn Tel. +49 1805 - BITPLAN / +49 1805 248 752, Fax +49 2154 811-481 Web: http://www.bitplan.de bitplan GmbH, Willich - HRB 6820 Krefeld, VAT-ID: 10258040548, Geschäftsführer: Wolfgang Fahl ------------------------------------------------------------------------- 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/ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop