File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Deploying war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying war file" Watch "Deploying war file" New topic

Deploying war file

sr shashidhar

Joined: Jan 17, 2013
Posts: 27
Hi friends, i am using Tomcat 6.0 to work this program. here i am getting error while deploying the war file... can anyone help me in solving this...

[echo] Deploying into Server...!
[copy] Copying 1 file to C:\Tomcat 6.0\webapps

[echo] Building WEB APP
[java] java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
[java] at$
[java] at Method)
[java] at
[java] at java.lang.ClassLoader.loadClass(
[java] at java.lang.ClassLoader.loadClass(
[java] at org.apache.catalina.startup.Bootstrap.init(
[java] at org.apache.catalina.startup.Bootstrap.main(
[exec] Result: 1

Total time: 3 seconds

i am using
Ant Version : ant 1.9.1/any 1.8.4


Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
bootstrap.jar is only a tiny part of Tomcat - you need plenty more jar files to run it. Check the scripts in TOMCAT_HOME/bin for how to start up Tomcat, andTOMCAT_HOME/lib for all the jar files that are needed.
I agree. Here's the link:
subject: Deploying war file
It's not a secret anymore!