Results 1 to 5 of 5
  1. #1
    rohant18 is offline Member
    Join Date
    Mar 2009
    Posts
    2
    Rep Power
    0

    Default java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

    Hello guys,
    I have a ambigious issue while starting tomcat
    till two days back I was able to run my application, suddenly dont know what happened but now I can not run it.
    when I start tomcat from eclipse it gives error
    "java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap"

    and Java virtual machine launcher says "Could not find main class.Program will exit."

    I googled a lot but could not find a satisfying answer.
    here is my environment details for reference.

    Tomcat version- apache-tomcat-5.5.26
    I have added this tomcat thru [File]->[New]->[Other]->[Server] menu
    after adding it when I run/debug it, it throws this error and exits.
    is this a missing jar problem...though I have all the jars.. catalina.jar etc in place
    or a classpath,catalina_home issue?
    I have cataline_home also set to install directory of tomcat,what should be classpath?

    or does it have something to do with other things?
    Please help me out as I am stuck up since 2 days resolving this error when my application was running fine before it.

    thanks in advance,
    Rohant

  2. #2
    rohant18 is offline Member
    Join Date
    Mar 2009
    Posts
    2
    Rep Power
    0

    Default one more point

    tomcat starts without any error if I start it externally by envoking startup.bat
    gives problem only through eclipse

  3. #3
    shidio is offline Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Default

    I met the same problem on CentOS...

  4. #4
    newlybornjava is offline Member
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Unhappy any solution?

    Hello ...
    im guessing you would have resolved this by now ...i face the same issue
    from eclipse IDE (tomcat version 6 ,java version 6) ..can you help here ?

    thanks!

  5. #5
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default Missing bootstrap

    I have seen this same error previously.

    First question how did you install Tomcat?
    Did you download a packaged install or build it yourself?

    If you built it yourself cd to the source trunk directory.
    and "ant ide-eclipse" ,
    Then re-associate eclipse with the tomcat server and it should work.

    If you installed from packages.
    Check your bin directory. You should have a bootstrap.jar file along with 4 or five other jar files. If you don't, do a find on your machine for bootstrap.jar and move it to your bin directory. The next error you will have is tomcat-juli.jar is not found.

Similar Threads

  1. java.lang.NoClassDefFoundError
    By noobie in forum Java Applets
    Replies: 5
    Last Post: 04-22-2009, 02:35 AM
  2. java.lang.NoClassDefFoundError
    By bizmut in forum Eclipse
    Replies: 3
    Last Post: 06-15-2008, 12:54 AM
  3. java.lang.NoClassDefFoundError
    By J_a_y in forum New To Java
    Replies: 2
    Last Post: 08-07-2007, 11:51 AM
  4. java.lang.NoClassDefFoundError
    By fred in forum Advanced Java
    Replies: 3
    Last Post: 08-01-2007, 05:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •