maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edovale <edov...@yahoo.com>
Subject unable to deploy site using ftp
Date Sun, 03 Jul 2005 13:36:16 GMT

Hello there, 

I am trying to deploy the site using ftp and I am getting anexception saying the maven is
unable to find classorg.apache.tools.ant.taskdefs.optional.net.FTP.

When I look into the lib folder in my maven installationfolder I see there is ant-optional-1.5.3-1.jar
and the the class org.apache.tools.ant.taskdefs.optional.net.FTPis in there. 

Have any one had this problem before??

Here goes the stack trace obtained running maven &#8211;X

 

Thanks.

 

BUILD FAILED

File...... C:\Documents andSettings\edovale\.maven\cache\maven-site-plugin-1.6.

1\plugin.jelly

Element... taskdef

Line...... 130

Column.... 6

taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be found

com.werken.werkz.UnattainableGoalException: Unable to obtaingoal [site:deploy]

-- C:\Documents andSettings\edovale\.maven\cache\maven-site-plugin-1.6.1\plugin

.jelly:130:6: <taskdef> taskdef classorg.apache.tools.ant.taskdefs.optional.net

.FTP cannot be found

        at com.werken.werkz.Goal.fire(Goal.java:646)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:

671)

        atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)

        atorg.apache.maven.cli.App.doMain(App.java:488)

        atorg.apache.maven.cli.App.main(App.java:1239)

        atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        atjava.lang.reflect.Method.invoke(Method.java:585)

        atcom.werken.forehead.Forehead.run(Forehead.java:551)

        atcom.werken.forehead.Forehead.main(Forehead.java:581)

org.apache.commons.jelly.JellyTagException: C:\Documents andSettings\edovale\.m

aven\cache\maven-site-plugin-1.6.1\plugin.jelly:130:6:<taskdef> taskdef class o

rg.apache.tools.ant.taskdefs.optional.net.FTP cannot befound

        atorg.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav

a:683)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)

        atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai

nGoalTag.java:127)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:

671)

        atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)

        atorg.apache.maven.cli.App.doMain(App.java:488)

        atorg.apache.maven.cli.App.main(App.java:1239)

        atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        atjava.lang.reflect.Method.invoke(Method.java:585)

        atcom.werken.forehead.Forehead.run(Forehead.java:551)

        atcom.werken.forehead.Forehead.main(Forehead.java:581)

Caused by: taskdef classorg.apache.tools.ant.taskdefs.optional.net.FTP cannot b

e found

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)

 

        atorg.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)

        atorg.apache.tools.ant.Task.perform(Task.java:341)

        at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        ... 23 more

Caused by: java.lang.NoClassDefFoundError:com/oroinc/net/ftp/FTP

        atjava.lang.Class.getDeclaredConstructors0(Native Method)

        atjava.lang.Class.privateGetDeclaredConstructors(Class.java:2328)

        atjava.lang.Class.getDeclaredConstructors(Class.java:1808)

        atorg.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja

va:484)

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)

 

        ... 27 more

Root cause

taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be found

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)

 

        atorg.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)

        atorg.apache.tools.ant.Task.perform(Task.java:341)

        atorg.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)

        atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai

nGoalTag.java:127)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:

671)

        atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)

        atorg.apache.maven.cli.App.doMain(App.java:488)

        atorg.apache.maven.cli.App.main(App.java:1239)

        atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        atjava.lang.reflect.Method.invoke(Method.java:585)

        atcom.werken.forehead.Forehead.run(Forehead.java:551)

        atcom.werken.forehead.Forehead.main(Forehead.java:581)

Caused by: java.lang.NoClassDefFoundError:com/oroinc/net/ftp/FTP

        atjava.lang.Class.getDeclaredConstructors0(Native Method)

        atjava.lang.Class.privateGetDeclaredConstructors(Class.java:2328)

        atjava.lang.Class.getDeclaredConstructors(Class.java:1808)

        atorg.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja

va:484)

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)

 

        ... 27 more

--- Nested Exception ---

java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTP

        atjava.lang.Class.getDeclaredConstructors0(Native Method)

        atjava.lang.Class.privateGetDeclaredConstructors(Class.java:2328)

        atjava.lang.Class.getDeclaredConstructors(Class.java:1808)

        atorg.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja

va:484)

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)

 

        atorg.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)

        atorg.apache.tools.ant.Task.perform(Task.java:341)

        atorg.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)

        atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai

nGoalTag.java:127)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        at com.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:

671)

        atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)

        at org.apache.maven.cli.App.doMain(App.java:488)

        atorg.apache.maven.cli.App.main(App.java:1239)

        atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        atjava.lang.reflect.Method.invoke(Method.java:585)

        atcom.werken.forehead.Forehead.run(Forehead.java:551)

        atcom.werken.forehead.Forehead.main(Forehead.java:581)

Root cause

taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be found

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)

 

        at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)

        atorg.apache.tools.ant.Task.perform(Task.java:341)

        atorg.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)

        atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai

nGoalTag.java:127)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:

671)

        atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)

        atorg.apache.maven.cli.App.doMain(App.java:488)

        atorg.apache.maven.cli.App.main(App.java:1239)

        atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        atjava.lang.reflect.Method.invoke(Method.java:585)

        atcom.werken.forehead.Forehead.run(Forehead.java:551)

        atcom.werken.forehead.Forehead.main(Forehead.java:581)

Caused by: java.lang.NoClassDefFoundError:com/oroinc/net/ftp/FTP

        atjava.lang.Class.getDeclaredConstructors0(Native Method)

        atjava.lang.Class.privateGetDeclaredConstructors(Class.java:2328)

        atjava.lang.Class.getDeclaredConstructors(Class.java:1808)

        atorg.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja

va:484)

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)

 

        ... 27 more

--- Nested Exception ---

java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTP

        atjava.lang.Class.getDeclaredConstructors0(Native Method)

        atjava.lang.Class.privateGetDeclaredConstructors(Class.java:2328)

        atjava.lang.Class.getDeclaredConstructors(Class.java:1808)

        atorg.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja

va:484)

        atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)

 

        atorg.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)

        atorg.apache.tools.ant.Task.perform(Task.java:341)

        atorg.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        at com.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)

        atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai

nGoalTag.java:127)

        atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)

        atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa

g.java:79)

        atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor

mAction(MavenGoalTag.java:110)

        atcom.werken.werkz.Goal.fire(Goal.java:639)

        atcom.werken.werkz.Goal.attain(Goal.java:575)

        atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:

671)

        atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)

        atorg.apache.maven.cli.App.doMain(App.java:488)

        atorg.apache.maven.cli.App.main(App.java:1239)

        atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

        atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

        atjava.lang.reflect.Method.invoke(Method.java:585)

        atcom.werken.forehead.Forehead.run(Forehead.java:551)

        atcom.werken.forehead.Forehead.main(Forehead.java:581)

Final Memory: 25M/46M

Total time: 49 seconds

Finished at: Sun Jul 03 08:54:51 EDT 2005



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/2005
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message