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.