Skip to main content

Exception in thread "main" java.lang.NoClassDefFoundError during starting your Tomcat

If you are using Tomcat v.6 or v.7, you probably get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54) Caused by: java.lang.ClassNotFoundException: org.apache.juli.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 Could not find the main class: org.apache.catalina.startup.Bootstrap. Program will exit.

This error occurs because it misses the tomcat-juli.jar in the Launch environment
So to solve it do the following steps:

  1. Double click on the installed Ode v1.x Server in the 'Server' View.
  2.  Click on Open launch configuration. figure1
  3. Choose  Classpath tab > Add External JARs > [your TOMCAT_DIR]\bin\tomcat-juli.jar. figure 2,3,4
  4.  Then Apply then OK.
  5. Start your Ode v1.x Server in the Server View by right clicking on it > Start or press the start icon.
Ode server at localhost

click on User Entries then add external jars

Choose tomcat-juli.jar

click Apply the OK

Start your server up by clicking on start or icon



Comments

Popular posts from this blog

Let's appear easily with NO Subscription & NO Money require

Would you like to start a video chat with one or more friend(s)? Do you want to avoid the subscription routine? Do you need to video chat without any paid money or without any installation? If your answer with YES, so let's APPEAR.IN Appear.in is a video chatting web site that allows you to video chat with your friends without any money paid or any subscription steps. All what you need to do is just: 1. Pick a name for your chatting room. 2. Click create. 3. Hit copy link. 4. Send the link on email,  chat,  SMS to who you want to talk. 5. Once your friends click the link, they  will appear in the room with you. Note. If you have an IPhone you must install the application of the appear.in first.

Merge & Split PDF Files

The following Tools allow you to do many functions on PDF files. In this post we will concern with Merging and Splitting PDF Files. The following too ls are ordered from Free to Trial versions: 1. Icecream Split&Merge Icecream Split&Merge, a free application that does exactly what it says; enables you split and merge PDF files quickly and easily. (Free) URL: http://icecreamapps.com/PDF-Split-and-Merge/ 2. PDFSAM PDF Split and Merge is an easy-to-use tool with graphical and command line interfaces to spit, merge, mix, and rotate your PDF documents. (FREE) URL: http://www.pdfsam.org/download/ 3. SODAPDF SODAPDF tools provide many methods such as combining different file types into one PDF and splitting PDFs. It also merge different PDFs into a large one. (FREE) You can merge your PDFs through: CREATE & CONVERT > Combine Files OR split your PDF through: CREATE & CONVERT > Batch Files You can also merge ...

Drive A not ready…the drive is not ready for use it's door may be open Please check drive A and make sure that a disk is inserted?

Does that happen to you!!! Well it happened to me. I got a message tell me “ Drive not ready the drive is not ready for use it's door may be open Please check drive A and make sure that a disk is inserted and that the drive door is closed?” and it gives me three options Continue, Cancel, and Try again Well the answer is so easy but first you should know what cause this problem to happen. Let say you have programs and one of your programs is checking for a floppy drive I'd guess antivirus. So you have two options to do that but first of all do the basic steps which are: scan your computer well with antivirus software, Defragment your hard drive, and do the windows disk clean up and error checking. If this step doesn’t work then pick one option from the following options: Option 1 Disabling the floppy controller in your Device Manager : a.        Right click on My Computer b.       Choose Manage c.   ...