Bug 372149 - Deploy plugin fails with NoClassDefFoundError
Summary: Deploy plugin fails with NoClassDefFoundError
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: Plugins (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-21 13:29 EST by Geoff Waymark CLA
Modified: 2012-10-17 19:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Waymark CLA 2012-02-21 13:29:19 EST
Build Identifier: M1 Candidate

FATAL: org/apache/tools/ant/Main
java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
    at org.apache.tools.ant.Project.initProperties(Project.java:313)
    at org.apache.tools.ant.Project.init(Project.java:300)
    at org.codehaus.cargo.util.AntUtils.createProject(AntUtils.java:144)
    at org.codehaus.cargo.util.AntUtils.<init>(AntUtils.java:53)
    at org.codehaus.cargo.util.DefaultFileHandler.<init>(DefaultFileHandler.java:78)
    at org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.<init>(DefaultConfigurationFactory.java:48)
    at org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.<init>(DefaultConfigurationFactory.java:66)
    at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:83)
    at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:75)
    at hudson.FilePath.act(FilePath.java:754)
    at hudson.FilePath.act(FilePath.java:736)
    at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:75)
    at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45)
    at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:50)
    at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:623)
    at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
    at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:577)
    at hudson.model.Build$RunnerImpl.post2(Build.java:152)
    at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:546)
    at hudson.model.Run.run(Run.java:1381)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:39)
    at hudson.model.ResourceController.execute(ResourceController.java:81)
    at hudson.model.Executor.run(Executor.java:138)


Reproducible: Always

Steps to Reproduce:
1. Install the Hudson Deploy Plugin
2. Configure a job so that it will deploy to GlassFish a simple war, I used a hudson.war
3. Run Job
Comment 1 Steve Christou CLA 2012-04-30 15:24:42 EDT
What version of Glassfish are you using, and what version of the deploy plugin are you using? Try upgrading to the latest version of the deploy plugin and validating you still receive this error.