I am using the Eclipse IDE to create a JAR file that I need to schedule a cron job against. The program runs fine within the IDE but when I create the JAR and try to run it does nothing. The command line (in Windows) gives me a "NoClassDefFoundError: org/apache/commons/logging/LogFactory" I can't seem to get my jar command to work in the command line so that hasn't worked. I have found some forums that say "Class-Path: included.jar" but only for JARs outside the package.
Within the JAR I created all the included JAR files are in the base directory, not within any sub-directory.