Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error installing Tomcat

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am hetting the following error while starting up the server..
Can anyone resolve this..

D:\apache-tomcat-5.5.20-src\container\catalina\src\bin>startup
Using CATALINA_BASE: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_HOME: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_TMPDIR: D:\apache-tomcat-5.5.20-src\container\catalina\src\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_05
D:\apache-tomcat-5.5.20-src\container\catalina\src\bin>startup > 1.txt
D:\apache-tomcat-5.5.20-src\container\catalina\src\bin>catalina run
Using CATALINA_BASE: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_HOME: D:\apache-tomcat-5.5.20-src\container\catalina\src
Using CATALINA_TMPDIR: D:\apache-tomcat-5.5.20-src\container\catalina\src\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_05

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/s
tartup/Bootstrap

Thanks
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You shoudn't have this kind of problem. It seems there are files missing in the installation directory. Check if you have the file <tomcatInstallation>/bin/bootstrap.jar, because it seems it's not there or is corrupted.
Another option is downloading tomcat again.
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your error show me that your installed version is source version.

It is not compiled yet. Maybe you should complile it at first.

Or otherwise, you should download a binary version to run it.

Hope it will work.
Thanks!
 
Manju Devarla
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks guys..

downloaded binary version.. working fine..
 
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic