org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant task s

portals-jetspeed-user | Foong Kim Seong | 9 years ago
  1. 0

    JetSpeed Tutorial Setup Problems

    portals-jetspeed-user | 9 years ago | Foong Kim Seong
    org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant task s
  2. 0

    Ran D:\Java\Projects\Mercado>mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-spring -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=nl.project.myproject -DartifactId=Myproject and then mvn in the projectdir. Got this error Embedded error: The following error occurred while executing this line: D:\Java\Projects\Mercado\web\src\test\resources\login.xml:1: HTTP error 404 404 /Mercado-webapp-1.0-SNAPSHOT/ for http://localhost:8081/Mercado-webapp-1.0-S NAPSHOT/ [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant task s at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.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.MojoExecutionException: Error executing ant t asks at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA ntMojo.java:114) at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) ... 16 more Caused by: The following error occurred while executing this line: D:\Java\Projects\Mercado\web\src\test\resources\login.xml:1: HTTP error 404 at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec tHelper.java:541) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA ntMojo.java:108) ... 19 more Caused by: D:\Java\Projects\Mercado\web\src\test\resources\login.xml:1: HTTP err or 404 at com.canoo.webtest.steps.StepUtil.handleException(StepUtil.java:69) at com.canoo.webtest.steps.Step.handleException(Step.java:379) at com.canoo.webtest.steps.Step.execute(Step.java:110) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:105) at org.apache.tools.ant.Task.perform(Task.java:348) at com.canoo.webtest.ant.TestStepSequence.executeSteps(TestStepSequence. java:43) at com.canoo.webtest.ant.TestStepSequence.doExecute(TestStepSequence.jav a:31) at com.canoo.webtest.steps.Step.execute(Step.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:105) at org.apache.tools.ant.Task.perform(Task.java:348) at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:206) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single CheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) ... 28 more Caused by: com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 /Me rcado-webapp-1.0-SNAPSHOT/ for http://localhost:8081/Mercado-webapp-1.0-SNAPSHOT / at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExc eptionIfNecessary(WebClient.java:536) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:353) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:416) at com.canoo.webtest.steps.request.TargetHelper.getResponse(TargetHelper .java:69) at com.canoo.webtest.steps.request.AbstractTargetAction.getResponse(Abst ractTargetAction.java:66) at com.canoo.webtest.steps.request.InvokePage.findTarget(InvokePage.java :160) at com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(Abstra ctTargetAction.java:72) at com.canoo.webtest.steps.Step.execute(Step.java:101) ... 58 more

    AppFuse JIRA | 9 years ago | Marc Schipperheyn
    org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant task s
  3. 0

    Re: [selenium-rc-users] proxyInjectionMode not respecting waitForPageToLoad

    Google Groups | 9 years ago | Sami Kallio
    org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant tasks
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [MANTRUN-98] multiple input tasks leads to exception - ASF JIRA

    apache.org | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: An Ant BuildException has occured: Failed to read input from Console.
  6. 0

    Maven2 runner and antrun optional task :: JetBrains Developer Community

    jetbrains.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant tasks

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Error executing ant t asks

      at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks()
    2. org.apache.maven
      AntRunMojo.execute
      1. org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:114)
      2. org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
      2 frames
    3. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
      8 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    7. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames