Hi folks,

I finally got 2.x built and it works fine when I use tomcat but I tried
to deploy everything to weblogic server (wls 9) and get this one:

java.lang.NoSuchMethodError:
org.mozilla.javascript.Context.call(Lorg/mozilla/javascript/ContextAction;)Ljava/lang/Object;
        at
com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.initialize(JavaScriptEngine.java:146)
        at 
com.gargoylesoftware.htmlunit.WebClient.initialize(WebClient.java:999)
        at
com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(WebWindowImpl.java:114)
        at 
com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:238)
        at
com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:116)
        at
com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:89)
        at
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:442)
        at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:343)
        at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:397)
        at
net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.beginAt(HtmlUnitDialog.java:146)
        at
net.sourceforge.jwebunit.JWebUnitTester.beginAt(JWebUnitTester.java:176)x


Has anybody seen that before? As I said it works fine in tomcat during
development but in wls it screws up.

I looked thru the jars and the class is there and it certainly has the
method which is reported missing.

Can anybody help?

Thanks,
Daniel

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to