title: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
body: <p>I am getting <code>java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory</code> when I start my web application. </p>
  
  <p>As you can see in the image below, I have <code>tomcat-juli.jar</code> in my classpath for the Tomcat server configuration but it's still not working.</p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 12 more
  </code></pre>
  
  <p>How can I solve this?</p>
  
  <p><a href="https://i.stack.imgur.com/VhSBz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VhSBz.png" alt="enter image description here"></a></p>