title: Tomcat versions aren't starting
body: <p>Just downloaded Tomcat 7.0.26, unzipped it, ran the <code>startup.bat</code> file and it failed with the following error:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  at org.apache.catalina.startup.Bootstrap.&lt;clinit&gt;(Bootstrap.java:54)
  Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      at java.security.AccessController.doPrivileged(Native Method)         
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)       
      at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)       
      at java.lang.ClassLoader.loadClass(ClassLoader.java:268)        
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
      ... 1 more
  </code></pre>
  
  <p>A co-worker recommended I try using an older/more stable version of Tomcat. He's running 6.0.35, so I decided to try that.</p>
  
  <p>I did the same exact thing with 6.0.35...and the same thing is happening to me...</p>
  
  <p>What is going on here?!?!  I see in <code>bin/tomcat-juli.jar</code> that the LogFactory is there (both versions)...</p>
  
  <p><strong>Edit</strong>:</p>
  
  <p>Here are the values for several environment variables:</p>
  
  <ul>
  <li>CLASSPATH: <code>.;C:\Users\&lt;myUser&gt;\Desktop\jars\;C:\Program Files\Java\jre6\lib\ext\QTJava.zip</code></li>
  <li>JAVA_HOME: <code>C:\Program Files\Java\jdk1.6.0_25</code></li>
  </ul>
  
  <p>These don't seem to add up!?! If I'm reading this correctly, doesn't it say that the CLASSPATH thinks I'm using <code>jre6</code>, but that Java Home is set to <code>jdk1.6.0_25</code>?</p>