ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bellemo Maurizio <m.bell...@reply.eu>
Subject Issue with ant and Deploy plugin for Hudson
Date Thu, 18 Oct 2012 09:18:24 GMT
Hi,

I have installed the Deploy plugin on Hudson in order to deploy a .war to a Tomcat6.

But when I try to execute the deploy I get the following


FATAL: org/apache/tools/ant/Main

java.lang.NoClassDefFoundError<http://stacktrace.hudson-ci.org/search?query=java.lang.NoClassDefFoundError>:
org/apache/tools/ant/Main

          at org.apache.tools.ant.Project.initProperties(Project.java:313)<http://stacktrace.hudson-ci.org/search/?query=org.apache.tools.ant.Project.initProperties&entity=method>

          at org.apache.tools.ant.Project.init(Project.java:300)<http://stacktrace.hudson-ci.org/search/?query=org.apache.tools.ant.Project.init&entity=method>

          at org.codehaus.cargo.util.AntUtils.createProject(AntUtils.java:144)<http://stacktrace.hudson-ci.org/search/?query=org.codehaus.cargo.util.AntUtils.createProject&entity=method>

          at org.codehaus.cargo.util.AntUtils.<init>(AntUtils.java:53)<http://stacktrace.hudson-ci.org/search/?query=org.codehaus.cargo.util.AntUtils.%3Cinit%3E&entity=method>

          at org.codehaus.cargo.util.DefaultFileHandler.<init>(DefaultFileHandler.java:78)<http://stacktrace.hudson-ci.org/search/?query=org.codehaus.cargo.util.DefaultFileHandler.%3Cinit%3E&entity=method>

          at org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.<init>(DefaultConfigurationFactory.java:48)<http://stacktrace.hudson-ci.org/search/?query=org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.%3Cinit%3E&entity=method>

          at org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.<init>(DefaultConfigurationFactory.java:66)<http://stacktrace.hudson-ci.org/search/?query=org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.%3Cinit%3E&entity=method>

          at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:83)<http://stacktrace.hudson-ci.org/search/?query=hudson.plugins.deploy.CargoContainerAdapter$1.invoke&entity=method>

          at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:75)<http://stacktrace.hudson-ci.org/search/?query=hudson.plugins.deploy.CargoContainerAdapter$1.invoke&entity=method>

          at hudson.FilePath.act(FilePath.java:792)<http://stacktrace.hudson-ci.org/search/?query=hudson.FilePath.act&entity=method>

          at hudson.FilePath.act(FilePath.java:774)<http://stacktrace.hudson-ci.org/search/?query=hudson.FilePath.act&entity=method>

          at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:75)<http://stacktrace.hudson-ci.org/search/?query=hudson.plugins.deploy.CargoContainerAdapter.redeploy&entity=method>

          at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45)<http://stacktrace.hudson-ci.org/search/?query=hudson.plugins.deploy.DeployPublisher.perform&entity=method>

          at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:51)<http://stacktrace.hudson-ci.org/search/?query=hudson.tasks.BuildStepMonitor$3.perform&entity=method>

          at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:646)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.AbstractBuild$AbstractRunner.perform&entity=method>

          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:624)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps&entity=method>

          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:600)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps&entity=method>

          at hudson.model.Build$RunnerImpl.post2(Build.java:163)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.Build$RunnerImpl.post2&entity=method>

          at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:566)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.AbstractBuild$AbstractRunner.post&entity=method>

          at hudson.model.Run.run(Run.java:1414)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.Run.run&entity=method>

          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method>

          at hudson.model.ResourceController.execute(ResourceController.java:81)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>

          at hudson.model.Executor.run(Executor.java:137)<http://stacktrace.hudson-ci.org/search/?query=hudson.model.Executor.run&entity=method>


Any idea?
Thanks
Regards

________________________________

--
The information transmitted is intended for the person or entity to which it is addressed
and may contain confidential and/or privileged material. Any review, retransmission, dissemination
or other use of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message