facebook

Problems with tomcat 5 –> could not find main class …

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #252042 Reply

    kajdo
    Member

    Hi!

    I worked through the starting guide until i got this error (start tomcat5):
    Could not find main class. Program will exit.

    and

    java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
    Exception in thread “main”

    The configuration of tomcat5 should be alright (new jdk, correct paths …)

    the deployment of the hello-world-project was succesfully

    maybe someone have some tips for me

    #252083

    Riyad Kalla
    Member

    This looks like an installation or configuration problem. Are you using MyEclipse or Sysdeo Tomcat plugin?

    #252084

    kajdo
    Member

    I use MyEclipse as described in the “Quickstart — Essentials”

    #252094

    Riyad Kalla
    Member

    If you download this file:
    http://download.nextag.com/apache/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.zip

    Unzip it to a new dir, then adjust your Tomcat 5 connector settings in MyEclipse to point to that HOME dir, setup a JDK to launch it (JDK 1.5) and make sure your Paths are all empty and your Launch settings are on debug, when you try and launch it from the toolbar, do you still get the class not found?

    #252111

    kajdo
    Member

    Hi again!

    tried the file … didn’t work … uninstalled – reinstallt the whole Workbench – tried the file WORKED!

    thanks a lot for your help!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Problems with tomcat 5 –> could not find main class …

You must be logged in to post in the forum log in