Java.lang.NoSuchMethodError when Launching myWebtestProject
-----------------------------------------------------------

         Key: WT-475
         URL: http://webtest-community.canoo.com/jira/browse/WT-475
     Project: WebTest
        Type: Bug

    Versions: 2.6    
 Environment: WinXP, Java(TM) SE Runtime Environment (build 1.6.0_03-b05), 
Apache Ant version 1.7.1
    Reporter: Radhika Sohoni


Microsoft Windows XP [Version 5.1.2600]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)

C:\>ant -version
Apache Ant version 1.7.1 compiled on June 27 2008
C:\>
(C) Copyright 1985-2001 Microsoft Corp Directory of C:\myWebtestProject\results

16/12/2008  11:25    <DIR>          .
16/12/2008  11:25    <DIR>          ..
16/12/2008  11:25    <DIR>          001_CheckThatWebTest
               0 File(s)              0 bytes
               3 Dir(s)   3,825,770,496 bytes free


C:\>cd "myWebtestProject"

C:\myWebtestProject>webtest
"C:\jdk1.6.0_03\\bin\java.exe" -Xms64M -Xmx256M -cp 
"C:\webtest\bin\..\lib\ant-launcher-1.7.0.jar" -Dant.library.dir="C:\webtest\b
in\..\lib" "-Dlog4j.configuration=file:/C:\webtest\bin\..\lib/log4j.properties" 
org.apache.tools.ant.launch.Launcher -nouserlib -l
ib "C:\webtest\bin\..\lib\build;C:\webtest\bin\..\lib\build\clover.jar"
Buildfile: build.xml

wt.init:

wt.init.headless:

wt.defineTimestamps:

wt.defineTasks.init:

wt.defineTasks:

wt.webtestMonitor:
     [echo] C:\webtest/tools/WebTestMonitor.groovy

wt.defineMacros:
     [echo] Defining project macros and custom steps (if any)

wt.generateDtd:
[groovyScript] Scanning for entities...
[groovyScript] 1 entities found
[groovyScript] Already uptodate: C:\myWebtestProject\dtd\Project.dtd

wt.generateDefinitions:
[groovyScript] Scanning C:\myWebtestProject\definitions for definitions...
[groovyScript] 2 definitions found
[groovyScript] Already uptodate: C:\myWebtestProject\definitions.xml

wt.createReportsFolder:

wt.deleteReports:

wt.parallel.init:

wt.before.testInWork:

wt.testInWork:
     [echo] Execution allTests.xml in dir C:\myWebtestProject\tests

test:

test:
  [webtest]  INFO (com.canoo.webtest.engine.Configuration) - Using haltonerror 
from project property wt.config.haltonerror: false
  [webtest]  INFO (com.canoo.webtest.engine.Configuration) - Using 
haltonfailure from project property wt.config.haltonfailure: fa
lse
  [webtest]  INFO (com.canoo.webtest.engine.Configuration) - Using resultpath 
from project property wt.config.resultpath: C:\myWeb
testProject\results
  [webtest]  INFO (com.canoo.webtest.engine.Configuration) - Using saveresponse 
from project property wt.config.saveresponse: true

  [webtest]  INFO (com.canoo.webtest.engine.Configuration) - Using summary from 
project property wt.config.summary: true
  [webtest]  INFO (com.canoo.webtest.ant.WebtestTask) - No configuration 
defined, using default configuration.
  [webtest]  INFO (com.canoo.webtest.ant.WebtestTask) - Starting webtest "check 
that WebTest is Google's top 'WebTest' result" (C:
\myWebtestProject\tests\googleWebTest.xml:9: )
  [webtest]  INFO (com.canoo.webtest.ant.WebtestTask) - Canoo Webtest: R_1726.
     [null]  INFO (com.canoo.webtest.engine.Configuration) - Using haltonerror 
from project property wt.config.haltonerror: false
     [null]  INFO (com.canoo.webtest.engine.Configuration) - Using 
haltonfailure from project property wt.config.haltonfailure: fa
lse
     [null]  INFO (com.canoo.webtest.engine.Configuration) - Using resultpath 
from project property wt.config.resultpath: C:\myWeb
testProject\results
     [null]  INFO (com.canoo.webtest.engine.Configuration) - Using saveresponse 
from project property wt.config.saveresponse: true

     [null]  INFO (com.canoo.webtest.engine.Configuration) - Using summary from 
project property wt.config.summary: true
     [null]  INFO (com.canoo.webtest.engine.Configuration) - Creating result 
directory: C:\myWebtestProject\results\001_CheckThatW
ebTest
     [null]  INFO (com.canoo.webtest.engine.Configuration) - Surfing with 
browser 4.0 (compatible; MSIE 6.0; Windows 98)

BUILD FAILED
C:\webtest\webtest.xml:230: The following error occurred while executing this 
line:
C:\myWebtestProject\tests\allTests.xml:5: The following error occurred while 
executing this line:
C:\myWebtestProject\tests\googleWebTest.xml:9: java.lang.NoSuchMethodError: 
com.gargoylesoftware.htmlunit.WebClient.setCookieManag
er(Lcom/gargoylesoftware/htmlunit/CookieManager;)V

Total time: 7 seconds

C:\myWebtestProject>googleWebTest.xml:9: java.lang.NoSuchMethodError:

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to