facebook

HELP!!!!

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #256642 Reply

    OK, now I’m a newbie at Java. I wanted to try out the best Eclipse I could find based purely around ease of use (having come from a .NET C# environment I wanted quickest learning curve). I’ve installed Ubuntu, got Apache and Tomcat working fine (eg. I can go to localhost:8080 and see the page). But when I configure MyEclipse to use the tomcat directory (CATALINA_HOME=/usr/share/tomcat5) I get the following error:
    Bootstrap: Class loader creation threw exception
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    at org.apache.tomcat.util.compat.JdkCompat.<clinit>(JdkCompat.java:55)
    at org.apache.catalina.startup.ClassLoaderFactory.<clinit>(ClassLoaderFactory.java:63)
    at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:103)
    at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402
    The server is configured under MyEclipse, and the JAVA_HOME variable is set the the appropriate JDK directory, can somebody help please. It’s driving me mad!!!! I really want to get into Java.

    #256710 Reply

    Riyad Kalla
    Member

    You are almost there. I’m going to make a suggestion to you to not both with the system-wide installations of Eclipse or Tomcat (e.g. usnig Synaptic to install them). Instead, download the Tomcat 5.5 zip from the http://tomcat.apache.org site and unzip it somewhere under your home dir, like ~/Applications or something like that. Then setup MyEclipse to point at it, it will work like a charm.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: HELP!!!!

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