{"id":2765,"date":"2022-08-30T15:27:35","date_gmt":"2022-08-30T15:27:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/08\/jdt-core-and-jasper-reports-do-not-work-together-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:27:35","modified_gmt":"2022-08-30T15:27:35","slug":"jdt-core-and-jasper-reports-do-not-work-together-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/jdt-core-and-jasper-reports-do-not-work-together-collection-of-common-programming-errors\/","title":{"rendered":"JDT-Core and Jasper reports do not work together-Collection of common programming errors"},"content":{"rendered":"<p>i have been working with Tomcat 6 and Jasper Reports, but when i start tomcat jdt compiler crash &#8217;cause the jasper jar in tomcat use another version of jdt compiler. I&#8217;m working with the lastest version of jasper reports 5.01;<\/p>\n<p>I have been searched this problem on google for 2 days. I found this guy who seems to have the same problem.<\/p>\n<p>http:\/\/grokbase.com\/t\/tomcat\/users\/10bjk6d3cb\/tomcat-jasperreports-and-jar-files<\/p>\n<p>This is the stackTrace:<\/p>\n<pre><code>java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg\/eclipse\/jdt\/core\/compiler\/CategorizedProblem;\n    at org.apache.jasper.compiler.JDTCompiler$2.acceptResult(JDTCompiler.java:370)\n    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:335)\n<\/code><\/pre>\n<ol>\n<li>\n<p>The problem is that you are using an incompatible combination of libraries.<\/p>\n<p>The class org.drools.commons.jci.compilers.EclipseJavaCompiler is trying to use org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg\/eclipse\/jdt\/core\/compiler\/CategorizedProblem but that method doesn&#8217;t exist in the Eclsipe library you are using.<\/p>\n<p>I added jasper-compiler-jdt-5.5.15 to my classpath started working&#8230; \ud83d\ude42<\/p>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2014-02-08 16:02:08. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>i have been working with Tomcat 6 and Jasper Reports, but when i start tomcat jdt compiler crash &#8217;cause the jasper jar in tomcat use another version of jdt compiler. I&#8217;m working with the lastest version of jasper reports 5.01; I have been searched this problem on google for 2 days. I found this guy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2765","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2765"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2765\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}