tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikko Hämäläinen <mtham...@niksula.hut.fi>
Subject Tomcat Deployer throws NoClassDefFoundError for DigesterFactory
Date Fri, 24 Sep 2004 09:23:41 GMT
Hi,

I'm trying to run the Tomcat Deployers (Tomcat 5.0.28, Ant 1.6.2,
Windows 2000 Pro & Cygwin shell) default Ant script for my web
application. For some reason, the validator-task fails every time
with a NoClassDefFoundError. If I comment the task out, everything
works fine.

I've set the properties webapp and path to my app's root dir and
context-path, respectively. Otherwise, the deployer is "out-of-box",
i.e. just extracted to some directory.

Below's the stack trace got with ant -v, any suggestions?

---clip---
BUILD FAILED
java.lang.NoClassDefFoundError: org/apache/catalina/startup/DigesterFactory
        at org.apache.tools.ant.Project.executeTarget(Project.java:1223)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/startup/DigesterFactory
        at org.apache.catalina.ant.ValidatorTask.execute(ValidatorTask.java:92)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        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.executeTarget(Project.java:1214)
        ... 5 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/apache/catalina/startup/DigesterFactory
        at org.apache.catalina.ant.ValidatorTask.execute(ValidatorTask.java:92)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        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.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
---clap---

Regards,

-mikko

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message