title: The type java.util.Comparator cannot be resolved
body: <pre><code>The type java.util.Comparator cannot be resolved. It is indirectly referenced from required .class files
  </code></pre>
  
  <p>I recently installed Java 8. While executing an application, I got above mentioned error can you please help me.</p>
  
  <p>I am using:</p>
  
  <ol>
  <li>Java - jdk1.8.0_51</li>
  <li>Tomcat - apache-tomcat-5.5.26</li>
  </ol>