You'll need to synch up your dispatcher-servlet.xml and web-tests.xml.

Matt


On 9/8/07, Guillaume ROMAGNY <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have tested the ibatis+spring mvc tuto with success with 2.0-m5
>
> so at the end I do mvn integration-test and everything is fine.
>
> I tried upgrading to 2.0-rc1 which is much a change in pom.xml
> 222c183
> <                 <version>1.0-rc1</version>
> ---
> >                 <version>1.0-m5</version>
> 660,661c621,622
> <         <appfuse.version>2.0-rc1</appfuse.version>
> <         <spring.version>2.0.6</spring.version>
> ---
> >         <appfuse.version>2.0-m5</appfuse.version>
> >         <spring.version>2.0.5</spring.version>
>
>
> and now I get the following with mvn integration-test
>
> it chokes on web-tests.xml : do I need to create another blank project
> to fetch the web-tests.xml file for 2.0-rc1 ? I'm going to test this
> option right now.
>
>
> [...]
>
> SaveUser:
>
> AddUser:
>
> ActiveUsers:
> [INFO] ------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------
> [INFO] Error executing ant tasks
>
> Embedded error: The following error occurred while executing this l
> /home/gr/java/source/wiseca/src/test/resources/web-tests.xml:186: C
> Test failed.
> Test step steps (/home/gr/java/source/wiseca/src/test/resources/webailed
> with message "Step[invoke "get activeUsers URL" (7/8)]: HTTP
> [INFO] ------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error execu
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execeExecutor.java:564)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.exec(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.jav
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatia:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launche
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:2
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launc
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error ex
>         at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTa:114)
>         at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRun
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojova:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execeExecutor.java:539)
>         ... 16 more
> Caused by: The following error occurred while executing this line:
> /home/gr/java/source/wiseca/src/test/resources/web-tests.xml:186: C
> Test failed.
> Test step steps (/home/gr/java/source/wiseca/src/test/resources/webailed
> with message "Step[invoke "get activeUsers URL" (7/8)]: HTTP
>         at org.apache.tools.ant.ProjectHelper.addLocationToBuildExca:539)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownEleme
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTa:108)
>         ... 19 more
> Caused by: /home/gr/java/source/wiseca/src/test/resources/web-tests R_1454.
> Test failed.
> Test step steps (/home/gr/java/source/wiseca/src/test/resources/webailed
> with message "Step[invoke "get activeUsers URL" (7/8)]: HTTP
>         at com.canoo.webtest.ant.WebtestTask.stopBuildIfNeeded(Webt
>         at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.ja
>         at org.apache.tools.ant.UnknownElement.execute(UnknownEleme
>         at org.apache.tools.ant.Task.perform(Task.java:364)
>         at org.apache.tools.ant.Target.execute(Target.java:341)
>         at org.apache.tools.ant.Target.performTasks(Target.java:369
>         at org.apache.tools.ant.Project.executeSortedTargets(Projec
>         at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTor.java:37)
>         at org.apache.tools.ant.Project.executeTargets(Project.java
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>         ... 23 more
> [INFO] ------------------------------------------------------------
> [INFO] Total time: 1 minute 11 seconds
> [INFO] Finished at: Sat Sep 08 11:44:34 CEST 2007
> [INFO] Final Memory: 38M/68M
> [INFO] ------------------------------------------------------------
> --
> Best regards,
>
> Guillaume
>
> Vision without action is a daydream. Action without vision is a
> nightmare.  -- Japanese Proverb
>
> "The odds against there being a bomb on a plane are a million
> to one, and against two bombs a million times a million to one.
> Next time you fly, cut the odds and take a bomb."
> -- Benny Hill & Ben Laden, Lucky Inc.
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to