Jump to content
We've recently updated our Privacy Statement, available here ×

Problems with JDT Compiler


otojunior

Recommended Posts

Hi,

We develop a software using Jasper Reports 0.6.8 with JDK 1.4 and now, we use JDK 7 but the reports doesn't compile anymore.

I got the followed error:

 

Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getErrors()[Lorg/eclipse/jdt/core/compiler/IProblem;
at net.sf.jasperreports.engine.design.JRJdtCompiler$2.acceptResult(JRJdtCompiler.java:346)
at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:607)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:522)
 
Anyone could help me?
 
Thanks.
 
 
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You need to make sure that you also have the required JDT compiler.  I am guessing that you are using a JRE instead of a full JDK, as my understanding is that you would not need to put the compiler library in place if you are using the full JDK.

Lastly, if you are using JR 0.6.8 with JDK 7, all bets are off - you should try to get to a more current version of JasperReports.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...