title: java.lang.NoSuchMethodError: java.lang.NoSuchMethodError
body: <p>Running Tomcat 7 through eclipse
  The error reported is:</p>
  
  <pre><code>javax.servlet.ServletException: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem;
  at org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:341)
  </code></pre>
  
  <p>I have tried both jasper-jdt-6.0.13.jar and tomcat-6.0.16-jasper-jdt.jar and both report the same error. In a way I shouldn't be surprised because I ran:</p>
  
  <pre><code>jar tf tomcat-6.0.16-jasper-jdt.jar
  </code></pre>
  
  <p>and it doesn't have the class org.eclipse.jdt.internal.compiler.CompilationResult in it. But this site <a href="http://www.java2s.com/Code/Jar/STUVWXYZ/Downloadtomcat6016jasperjdtjar.htm" rel="nofollow">http://www.java2s.com/Code/Jar/STUVWXYZ/Downloadtomcat6016jasperjdtjar.htm</a> says it does!!<br>
  Can someone tell me what the correct jar file is and where to get it from?
  It seems to be a recurring theme. <a href="http://www.findjar.com" rel="nofollow">http://www.findjar.com</a> lists a number of jars that purport to have this class - but do not.</p>
  
  <p>OK, Found it in jasper-compiler-jdt-5.5.23.jar</p>