facebook

Problem Starting Tomcat from MyEclipse

💡
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 Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #241865 Reply

    I recently installed Eclipse 3.1 and MyEclipse 4.0 on my Windows XP system, where I already have installations of both Tomcat 4.1 and Tomcat 5.5. I have been unable to configure MyEclipse to start either Tomcat.

    I have tried various configurations in the MyEclipse|Application Servers section of Preferences, but when I try the Start command on the Run/Stop button on the tool bar, I get the following error:

    A configuration error occurred during startup. Please verify the preference field with the prompt: java.lang.NoClassDefFoundError: Files\Apache Exception in thread “main”

    Any ideas on how to fix this would be appreciated!
    -Ken Sharp

    #241905

    Riyad Kalla
    Member

    If you go to Window > Preferences > MyEclipse, what Build ID of MyEclipse do you have? This bug should have been fixed in 4.0.3, the problem is spaces in your path where Tomcat is installed and it was a bug with our connectors.

    #241940

    I have build 4.0.3 GA, Build ID 20051025-4.0.3-GA

    #241941

    Riyad Kalla
    Member

    Ken,
    If you navigate to your Tomcat 5 > Paths preferneces, do you have any JARs or Library paths listed in there anywhere?

    Also is your JDK directory installed to a path that has spaces in it? (e.g. C:\Program Files\Java\jdk1.5.0_05)

    #241981

    1. Nothing in the Paths fields for Tomcat5.
    2. Yes, my JDK is under “c:\Program Files\Java”

    #241984

    Riyad Kalla
    Member

    If you make a copy of your JDK directory to C:\jdk1.5.0_04, and then reconfigure the connector to use it, does Tomcat start? I’m asking because we had a bug filed for this that we could not reproduce, but you would be the second user reporting the issue if this is infact the problem.

    Also si this Windows XP Pro, Home or 64-bit?

    #241986

    Okay, moving the JDK to a directory with no spaces in the name fixes the problem. Thanks!

    I am using Window XP Professional, Service Pack 2.

    #241990

    Riyad Kalla
    Member

    Ken thank you for the additional information, I have reopened the issue as a high priority item so we can look into this right away.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Problem Starting Tomcat from MyEclipse

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