Eclipse + Tomca5.5 problem
I'm following a tutorial which can be found on youtube and it's called:
Web applications with Java - Tutorial 01 Part 02 - Basic Servlet
I'm getting an error when trying to start Tomcat :
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.catalina.startup.Bootstrap.<clinit> (Bootstrap.java:54)
Tomcat starts fine if started from command line on the server: /etc/init.d/tomcat5 start which makes me think that this is en eclipse problem.
I've found /usr/share/java/commons-logging.jar which contains:
I've added this library to my project by going to libraries >> Apache
Tomcatv5.5 >> Build Path >> Configure Build Path >> Add jars .
Unfortunately eclipse still complains about LogFactory class.:mad:
What am I missing here ?