Re: [JWebUnit-users] Re : HtmlUnit 2.8
Brought to you by:
henryju
From: Eric J. <eje...@ho...> - 2010-10-04 18:17:04
|
+ Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] JWebUnit [INFO] WebTestCase Generator [INFO] Core - API [INFO] Commons Tests [INFO] HtmlUnit Plugin [INFO] Selenium Plugin [INFO] ------------------------------------------------------------------------ [INFO] Building JWebUnit [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [toolchains:toolchain {execution: default}] [INFO] Type:jdk [INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] ------------------------------------------------------------------------ [INFO] Building WebTestCase Generator [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [toolchains:toolchain {execution: default}] [INFO] Type:jdk [INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] [javacc:javacc {execution: default}] [INFO] Skipping - all grammars up to date [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Tools\jwebunit\jwebunit-webtestcase-generator\src\main\resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] Nothing to compile - all classes are up to date [INFO] ------------------------------------------------------------------------ [INFO] Building Core - API [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [toolchains:toolchain {execution: default}] [INFO] Type:jdk [INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] Preparing exec:java [WARNING] Removing: java from forked lifecycle, to prevent recursive invocation. [INFO] [toolchains:toolchain {execution: default}] [INFO] Type:jdk [INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] [exec:java {execution: default}] WebTestCaseGenerator: Reading from file C:\Tools\jwebunit\jwebunit-core/src/main/java\net\sourceforge\jwebunit\junit\WebTester.java . . . WebTestCaseGenerator: WebTester.java parsed successfully. [INFO] Registering compile source root C:\Tools\jwebunit\jwebunit-core\target\generated-sources\main\java [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [compiler:compile {execution: default-compile}] [INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] Compiling 1 source file to C:\Tools\jwebunit\jwebunit-core\target\classes [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Tests [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [toolchains:toolchain {execution: default}] [INFO] Type:jdk [INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 96 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] Nothing to compile - all classes are up to date [INFO] ------------------------------------------------------------------------ [INFO] Building HtmlUnit Plugin [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------ [INFO] [toolchains:toolchain {execution: default}] [INFO] Type:jdk [INFO] Toolchain (jdk) matched:JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Tools\jwebunit\jwebunit-htmlunit-plugin\src\main\resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Toolchain in compiler-plugin: JDK[C:/Tools/Java/jdk1.5.0_22] [INFO] Compiling 2 source files to C:\Tools\jwebunit\jwebunit-htmlunit-plugin\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43] cannot find symbol symbol : method getSecure() location: interface org.apache.http.cookie.Cookie [INFO] 1error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43] cannot find symbol symbol : method getSecure() location: interface org.apache.http.cookie.Cookie [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure /Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43] cannot find symbol symbol : method getSecure() location: interface org.apache.http.cookie.Cookie at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure /Tools/jwebunit/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl.java:[303,43] cannot find symbol symbol : method getSecure() location: interface org.apache.http.cookie.Cookie at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:613) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:116) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Mon Oct 04 13:16:03 CDT 2010 [INFO] Final Memory: 20M/48M [INFO] ------------------------------------------------------------------------ |